diff options
author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-06-24 17:52:40 -0400 |
---|---|---|
committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2010-06-24 17:52:40 -0400 |
commit | 632860484556e156bbe021a4f2d3411899837216 (patch) | |
tree | 6642efeb658b6d273514f4a1585958218a3d72cd /indra/newview | |
parent | 8f892d0f36fda170a5cecf0aea89887d6d0e45ef (diff) |
EXT-7932 FIX - reviewed by Nyx
Diffstat (limited to 'indra/newview')
-rw-r--r-- | indra/newview/llpaneleditwearable.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpaneleditwearable.cpp b/indra/newview/llpaneleditwearable.cpp index ae54909945..37e92b8ba0 100644 --- a/indra/newview/llpaneleditwearable.cpp +++ b/indra/newview/llpaneleditwearable.cpp @@ -63,6 +63,7 @@ #include "llcommandhandler.h" #include "lltextutil.h" +#include "llappearancemgr.h" // register panel with appropriate XML static LLRegisterPanelClassWrapper<LLPanelEditWearable> t_edit_wearable("panel_edit_wearable"); @@ -959,6 +960,7 @@ void LLPanelEditWearable::saveChanges() if (mWearablePtr->getName().compare(mNameEditor->getText()) != 0) { // the name of the wearable has changed, re-save wearable with new name + LLAppearanceMgr::instance().removeCOFItemLinks(mWearablePtr->getItemID(),false); gAgentWearables.saveWearableAs(mWearablePtr->getType(), index, mNameEditor->getText(), FALSE); } else |