From 7e3007b63521c4b0c5bbad1c3964a557fc526ce2 Mon Sep 17 00:00:00 2001 From: Jacek Antonelli Date: Fri, 15 Aug 2008 23:45:57 -0500 Subject: Second Life viewer sources 1.20.11 --- linden/indra/newview/llselectmgr.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'linden/indra/newview/llselectmgr.cpp') 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) for (S32 pass = 0; pass < 2; pass++) { - LLObjectSelection::iterator end_ = mSelectedObjects->end(); - S32 num_nodes = mSelectedObjects->getNumNodes() ; - LLObjectSelection::iterator prev_iter = mSelectedObjects->end(); for (LLObjectSelection::iterator iter = mSelectedObjects->begin(); iter != mSelectedObjects->end(); iter++) { - llassert_always(end_ == mSelectedObjects->end()) ;//mSelectedObjects should not grow - llassert_always(prev_iter != iter) ; //iter should move - llassert_always(num_nodes > 0) ; //iter should not circle inside mSelectedObjects. - num_nodes-- ; - prev_iter = iter ; - LLSelectNode* node = *iter; LLViewerObject* objectp = node->getObject(); if (!objectp) -- cgit v1.1