From db480d11fe69e54fb0387c6624657673b2f414e9 Mon Sep 17 00:00:00 2001 From: RunitaiLinden Date: Mon, 18 Sep 2023 14:16:15 -0500 Subject: SL-20229 Add blip for GLTF messages to "Show Updates to Objects" --- indra/newview/llgltfmateriallist.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra/newview') 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"]; -- cgit v1.2.3