diff options
author | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:45:57 -0500 |
commit | 7e3007b63521c4b0c5bbad1c3964a557fc526ce2 (patch) | |
tree | ab231ed574db618873d6ebb25293cf7c0cb6d26e /linden/indra/newview/llselectmgr.cpp | |
parent | Second Life viewer sources 1.20.10 (diff) | |
download | meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.zip meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.gz meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.bz2 meta-impy-7e3007b63521c4b0c5bbad1c3964a557fc526ce2.tar.xz |
Second Life viewer sources 1.20.11
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llselectmgr.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/linden/indra/newview/llselectmgr.cpp b/linden/indra/newview/llselectmgr.cpp index 1aad3e2..75e1fcc 100644 --- a/linden/indra/newview/llselectmgr.cpp +++ b/linden/indra/newview/llselectmgr.cpp | |||
@@ -4827,18 +4827,9 @@ void LLSelectMgr::renderSilhouettes(BOOL for_hud) | |||
4827 | 4827 | ||
4828 | for (S32 pass = 0; pass < 2; pass++) | 4828 | for (S32 pass = 0; pass < 2; pass++) |
4829 | { | 4829 | { |
4830 | LLObjectSelection::iterator end_ = mSelectedObjects->end(); | ||
4831 | S32 num_nodes = mSelectedObjects->getNumNodes() ; | ||
4832 | LLObjectSelection::iterator prev_iter = mSelectedObjects->end(); | ||
4833 | for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); | 4830 | for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); |
4834 | iter != mSelectedObjects->end(); iter++) | 4831 | iter != mSelectedObjects->end(); iter++) |
4835 | { | 4832 | { |
4836 | llassert_always(end_ == mSelectedObjects->end()) ;//mSelectedObjects should not grow | ||
4837 | llassert_always(prev_iter != iter) ; //iter should move | ||
4838 | llassert_always(num_nodes > 0) ; //iter should not circle inside mSelectedObjects. | ||
4839 | num_nodes-- ; | ||
4840 | prev_iter = iter ; | ||
4841 | |||
4842 | LLSelectNode* node = *iter; | 4833 | LLSelectNode* node = *iter; |
4843 | LLViewerObject* objectp = node->getObject(); | 4834 | LLViewerObject* objectp = node->getObject(); |
4844 | if (!objectp) | 4835 | if (!objectp) |