aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
authorMcCabe Maxsted2008-12-11 22:47:43 -0700
committerJacek Antonelli2008-12-15 19:29:29 -0600
commitc452c2eb4088e2060bcc64035153bb06c83132d9 (patch)
treeba80b7ea5c0d6017429a2297e0abce0cc0e2fd7f /linden
parentVWR-9352: Prim falls to 256m height when moved outworld. (diff)
downloadmeta-impy-c452c2eb4088e2060bcc64035153bb06c83132d9.zip
meta-impy-c452c2eb4088e2060bcc64035153bb06c83132d9.tar.gz
meta-impy-c452c2eb4088e2060bcc64035153bb06c83132d9.tar.bz2
meta-impy-c452c2eb4088e2060bcc64035153bb06c83132d9.tar.xz
VWR-10823: Right click > Inspect crashes viewer.
Backported from LL's 1.22 RC3.
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llfloaterinspect.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/linden/indra/newview/llfloaterinspect.cpp b/linden/indra/newview/llfloaterinspect.cpp
index d308210..8a665b5 100644
--- a/linden/indra/newview/llfloaterinspect.cpp
+++ b/linden/indra/newview/llfloaterinspect.cpp
@@ -206,8 +206,9 @@ void LLFloaterInspect::refresh()
206 mObjectList->operateOnAll(LLScrollListCtrl::OP_DELETE); 206 mObjectList->operateOnAll(LLScrollListCtrl::OP_DELETE);
207 //List all transient objects, then all linked objects 207 //List all transient objects, then all linked objects
208 208
209 for (LLObjectSelection::iterator iter = mObjectSelection->begin(); 209 //Crash fix for VWR-10823
210 iter != mObjectSelection->end(); iter++) 210 for (LLObjectSelection::valid_iterator iter = mObjectSelection->valid_begin();
211 iter != mObjectSelection->valid_end(); iter++)
211 { 212 {
212 LLSelectNode* obj = *iter; 213 LLSelectNode* obj = *iter;
213 LLSD row; 214 LLSD row;