summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRunitaiLinden <davep@lindenlab.com>2023-09-18 14:16:15 -0500
committerRunitaiLinden <davep@lindenlab.com>2023-09-18 14:16:15 -0500
commitdb480d11fe69e54fb0387c6624657673b2f414e9 (patch)
treedc4c591554bae04ac62c12df21d5a706a96eccad
parent74940194fa5cd4c5182f141ef262e5568156bdce (diff)
SL-20229 Add blip for GLTF messages to "Show Updates to Objects"
-rw-r--r--indra/newview/llgltfmateriallist.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/indra/newview/llgltfmateriallist.cpp b/indra/newview/llgltfmateriallist.cpp
index a204315a2a..655311f53d 100644
--- a/indra/newview/llgltfmateriallist.cpp
+++ b/indra/newview/llgltfmateriallist.cpp
@@ -347,6 +347,12 @@ void LLGLTFMaterialList::applyOverrideMessage(LLMessageSystem* msg, const std::s
if (obj)
{
+ if (gShowObjectUpdates)
+ { // display a cyan blip for override updates when "Show Updates to Objects" enabled
+ LLColor4 color(0.f, 1.f, 1.f, 1.f);
+ gPipeline.addDebugBlip(obj->getPositionAgent(), color);
+ }
+
const LLSD& tes = data["te"];
const LLSD& od = data["od"];