summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-24 17:52:40 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2010-06-24 17:52:40 -0400
commit632860484556e156bbe021a4f2d3411899837216 (patch)
tree6642efeb658b6d273514f4a1585958218a3d72cd /indra
parent8f892d0f36fda170a5cecf0aea89887d6d0e45ef (diff)
EXT-7932 FIX - reviewed by Nyx
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llpaneleditwearable.cpp2
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