aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--ChangeLog.txt5
-rw-r--r--linden/indra/newview/llviewerobjectlist.cpp4
2 files changed, 9 insertions, 0 deletions
diff --git a/ChangeLog.txt b/ChangeLog.txt
index f973236..29c5066 100644
--- a/ChangeLog.txt
+++ b/ChangeLog.txt
@@ -14,6 +14,11 @@
14 14
15 modified: linden/indra/newview/app_settings/settings.xml 15 modified: linden/indra/newview/app_settings/settings.xml
16 modified: linden/indra/newview/lltoolpie.cpp 16 modified: linden/indra/newview/lltoolpie.cpp
17
18
19 * Fixed unhandled exception in llviewerobjectlist.cpp
20
21 modified: linden/indra/newview/llviewerobjectlist.cpp
17 22
18 23
192009-09-13 McCabe Maxsted <hakushakukun@gmail.com> 242009-09-13 McCabe Maxsted <hakushakukun@gmail.com>
diff --git a/linden/indra/newview/llviewerobjectlist.cpp b/linden/indra/newview/llviewerobjectlist.cpp
index 78c1730..cf37058 100644
--- a/linden/indra/newview/llviewerobjectlist.cpp
+++ b/linden/indra/newview/llviewerobjectlist.cpp
@@ -165,6 +165,8 @@ U64 LLViewerObjectList::getIndex(const U32 local_id,
165 165
166BOOL LLViewerObjectList::removeFromLocalIDTable(const LLViewerObject &object) 166BOOL LLViewerObjectList::removeFromLocalIDTable(const LLViewerObject &object)
167{ 167{
168 if (object.mRegionp)
169 {
168 U32 local_id = object.mLocalID; 170 U32 local_id = object.mLocalID;
169 LLHost region_host = object.getRegion()->getHost(); 171 LLHost region_host = object.getRegion()->getHost();
170 U32 ip = region_host.getAddress(); 172 U32 ip = region_host.getAddress();
@@ -175,6 +177,8 @@ BOOL LLViewerObjectList::removeFromLocalIDTable(const LLViewerObject &object)
175 U64 indexid = (((U64)index) << 32) | (U64)local_id; 177 U64 indexid = (((U64)index) << 32) | (U64)local_id;
176 return sIndexAndLocalIDToUUID.erase(indexid) > 0 ? TRUE : FALSE; 178 return sIndexAndLocalIDToUUID.erase(indexid) > 0 ? TRUE : FALSE;
177 } 179 }
180 return FALSE;
181}
178 182
179void LLViewerObjectList::setUUIDAndLocal(const LLUUID &id, 183void LLViewerObjectList::setUUIDAndLocal(const LLUUID &id,
180 const U32 local_id, 184 const U32 local_id,