aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloateravatarinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--linden/indra/newview/llfloateravatarinfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloateravatarinfo.cpp b/linden/indra/newview/llfloateravatarinfo.cpp
index 942a394..d4b0b1c 100644
--- a/linden/indra/newview/llfloateravatarinfo.cpp
+++ b/linden/indra/newview/llfloateravatarinfo.cpp
@@ -120,6 +120,7 @@ LLFloaterAvatarInfo::LLFloaterAvatarInfo(const std::string& name, const LLRect &
120 mPanelAvatarp->selectTab(0); 120 mPanelAvatarp->selectTab(0);
121 } 121 }
122 122
123 llassert_always(!gAvatarInfoInstances.checkData(mAvatarID));//if not inserted.
123 gAvatarInfoInstances.addData(avatar_id, this); 124 gAvatarInfoInstances.addData(avatar_id, this);
124 125
125 126
@@ -128,8 +129,12 @@ LLFloaterAvatarInfo::LLFloaterAvatarInfo(const std::string& name, const LLRect &
128// virtual 129// virtual
129LLFloaterAvatarInfo::~LLFloaterAvatarInfo() 130LLFloaterAvatarInfo::~LLFloaterAvatarInfo()
130{ 131{
132 llassert_always(gAvatarInfoInstances.checkData(mAvatarID));//if there
133 llinfos << "to remove profile floater for avatar " << mAvatarID << llendl ;
131 // child views automatically deleted 134 // child views automatically deleted
132 gAvatarInfoInstances.removeData(mAvatarID); 135 gAvatarInfoInstances.removeData(mAvatarID);
136
137 llinfos << "successfully removed profile floater for avatar " << mAvatarID << llendl ;
133 138
134} 139}
135 140