summaryrefslogtreecommitdiff
path: root/indra/newview/llappearancemgr.cpp
diff options
context:
space:
mode:
authorBrad Payne (Vir Linden) <vir@lindenlab.com>2009-11-17 16:11:05 -0500
committerBrad Payne (Vir Linden) <vir@lindenlab.com>2009-11-17 16:11:05 -0500
commit17a6848d2f213cbb8e04863d9262a3e6e0cc2416 (patch)
treec72c0bd26acf91d7b34a715fa4a606316f2af16b /indra/newview/llappearancemgr.cpp
parent580b2331f5feba6b7ac95c23dddc81cc6743dccf (diff)
parent6474dbd46920fe704625a44cc2b8c56bfdca4990 (diff)
Automated merge with ssh://hg.lindenlab.com/tulla/avatar-pipeline-2-0
--HG-- branch : avatar-pipeline
Diffstat (limited to 'indra/newview/llappearancemgr.cpp')
-rw-r--r--indra/newview/llappearancemgr.cpp12
1 files changed, 3 insertions, 9 deletions
diff --git a/indra/newview/llappearancemgr.cpp b/indra/newview/llappearancemgr.cpp
index 043f6f37bf..60c6061e96 100644
--- a/indra/newview/llappearancemgr.cpp
+++ b/indra/newview/llappearancemgr.cpp
@@ -95,7 +95,7 @@ public:
mCopyItems(copy_items),
mAppend(append)
{}
- ~LLOutfitObserver();
+ ~LLOutfitObserver() {}
virtual void done();
void doWearCategory();
@@ -105,12 +105,6 @@ protected:
bool mAppend;
};
-LLOutfitObserver::~LLOutfitObserver()
-{
- llinfos << "~LLOutfitObserver" << llendl;
-}
-
-// BAP is LLOutfitObserver getting deleted here?
void LLOutfitObserver::done()
{
gInventory.removeObserver(this);
@@ -236,7 +230,6 @@ void LLOutfitFetch::done()
// loop.
//dec_busy_count();
gInventory.removeObserver(this);
- delete this;
// increment busy count and either tell the inventory to check &
// call done, or add this object to the inventory for observation.
@@ -255,6 +248,7 @@ void LLOutfitFetch::done()
// will call done for us when everything is here.
gInventory.addObserver(outfit_observer);
}
+ delete this;
}
class LLUpdateAppearanceOnDestroy: public LLInventoryCallback
@@ -471,7 +465,7 @@ void LLAppearanceManager::filterWearableItems(
// Create links to all listed items.
void LLAppearanceManager::linkAll(const LLUUID& category,
LLInventoryModel::item_array_t& items,
- LLPointer<LLInventoryCallback> cb)
+ LLPointer<LLInventoryCallback> cb)
{
for (S32 i=0; i<items.count(); i++)
{