summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatergesture.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-24 16:09:33 -0400
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2013-04-24 16:09:33 -0400
commita9fa707a7da9977914db8527f15b59bb6a4bc6b7 (patch)
tree74bd7e9814eb5d8b089129e4a93575427f2f48c4 /indra/newview/llfloatergesture.cpp
parent4967998a5c10abcc64e097a4e95505f9adbe4de7 (diff)
SH-4128 - more cleanup of COF-link manipulating functions
Diffstat (limited to 'indra/newview/llfloatergesture.cpp')
-rw-r--r--indra/newview/llfloatergesture.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatergesture.cpp b/indra/newview/llfloatergesture.cpp
index def4d40f9f..af5c11e12c 100644
--- a/indra/newview/llfloatergesture.cpp
+++ b/indra/newview/llfloatergesture.cpp
@@ -617,9 +617,10 @@ void LLFloaterGesture::addToCurrentOutFit()
uuid_vec_t ids;
getSelectedIds(ids);
LLAppearanceMgr* am = LLAppearanceMgr::getInstance();
+ LLPointer<LLInventoryCallback> cb = new LLUpdateAppearanceOnDestroy;
for(uuid_vec_t::const_iterator it = ids.begin(); it != ids.end(); it++)
{
- am->addCOFItemLink(*it, new LLUpdateAppearanceAndEditWearableOnDestroy(*it));
+ am->addCOFItemLink(*it, cb);
}
}