diff options
author | RunitaiLinden <davep@lindenlab.com> | 2023-09-18 14:16:15 -0500 |
---|---|---|
committer | RunitaiLinden <davep@lindenlab.com> | 2023-09-18 14:16:15 -0500 |
commit | db480d11fe69e54fb0387c6624657673b2f414e9 (patch) | |
tree | dc4c591554bae04ac62c12df21d5a706a96eccad | |
parent | 74940194fa5cd4c5182f141ef262e5568156bdce (diff) |
SL-20229 Add blip for GLTF messages to "Show Updates to Objects"
-rw-r--r-- | indra/newview/llgltfmateriallist.cpp | 6 |
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"]; |