diff options
author | Jacek Antonelli | 2008-08-15 23:45:54 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:54 -0500 |
commit | d0b03a62fd799317d5da0bd56615739ce3b5b052 (patch) | |
tree | 8bc79bbbb52e18294f62810d9fa66ce136f90e2d /linden/indra/newview/llfloateravatarinfo.cpp | |
parent | Second Life viewer sources 1.20.8 (diff) | |
download | meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.zip meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.gz meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.bz2 meta-impy-d0b03a62fd799317d5da0bd56615739ce3b5b052.tar.xz |
Second Life viewer sources 1.20.9
Diffstat (limited to 'linden/indra/newview/llfloateravatarinfo.cpp')
-rw-r--r-- | linden/indra/newview/llfloateravatarinfo.cpp | 5 |
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 |
129 | LLFloaterAvatarInfo::~LLFloaterAvatarInfo() | 130 | LLFloaterAvatarInfo::~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 | ||