summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobjectlist.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-06-09 14:09:33 -0500
committerDave Parks <davep@lindenlab.com>2022-06-09 14:09:33 -0500
commit0d9c23372bf8b34387b7d9de89234d3e9a5fd879 (patch)
tree2163b1c371dee30443f724cfa4b6f23849735a0b /indra/newview/llviewerobjectlist.cpp
parent125b099298652347991c521703109e12bccdd47e (diff)
SL-17551 Add "Select Reflection Probes" menu option and make invisible objects less annoying when alt-zooming in edit mode.
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r--indra/newview/llviewerobjectlist.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp
index 0e585f13fc..593f593a0f 100644
--- a/indra/newview/llviewerobjectlist.cpp
+++ b/indra/newview/llviewerobjectlist.cpp
@@ -1838,6 +1838,8 @@ void LLViewerObjectList::renderObjectBounds(const LLVector3 &center)
void LLViewerObjectList::generatePickList(LLCamera &camera)
{
+ llassert(false);
+#if 0 //deprecated
LL_PROFILE_ZONE_SCOPED_CATEGORY_UI;
LLViewerObject *objectp;
@@ -1961,10 +1963,13 @@ void LLViewerObjectList::generatePickList(LLCamera &camera)
LLHUDIcon::generatePickIDs(i * step, step);
}
+#endif
}
LLViewerObject *LLViewerObjectList::getSelectedObject(const U32 object_id)
{
+ llassert(false);
+#if 0
std::set<LLViewerObject*>::iterator pick_it;
for (pick_it = mSelectPickList.begin(); pick_it != mSelectPickList.end(); ++pick_it)
{
@@ -1973,6 +1978,7 @@ LLViewerObject *LLViewerObjectList::getSelectedObject(const U32 object_id)
return (*pick_it);
}
}
+#endif
return NULL;
}