summaryrefslogtreecommitdiff
path: root/indra/newview/llviewerobjectlist.cpp
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-11-11 15:19:41 -0600
committerDave Parks <davep@lindenlab.com>2022-11-11 15:19:41 -0600
commit8a19c8e073e6f34dc1579ed7ab2ac64f567a1793 (patch)
tree4f19fa400f1f2a21aa586b587881f78f753499a7 /indra/newview/llviewerobjectlist.cpp
parentfe2a07a80f4f0ae913078cca11a5242c24e550ed (diff)
SL-18615 Fix for beacons not rendering and beacon highlights flickering.
Diffstat (limited to 'indra/newview/llviewerobjectlist.cpp')
-rw-r--r--indra/newview/llviewerobjectlist.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/indra/newview/llviewerobjectlist.cpp b/indra/newview/llviewerobjectlist.cpp
index 768b4f425b..955979e605 100644
--- a/indra/newview/llviewerobjectlist.cpp
+++ b/indra/newview/llviewerobjectlist.cpp
@@ -1812,12 +1812,15 @@ void LLViewerObjectList::renderObjectBounds(const LLVector3 &center)
{
}
+extern BOOL gCubeSnapshot;
+
void LLViewerObjectList::addDebugBeacon(const LLVector3 &pos_agent,
const std::string &string,
const LLColor4 &color,
const LLColor4 &text_color,
S32 line_width)
{
+ llassert(!gCubeSnapshot);
LLDebugBeacon beacon;
beacon.mPositionAgent = pos_agent;
beacon.mString = string;