From 62290c7ce35a8f5fa00efd6865a617bc8986b431 Mon Sep 17 00:00:00 2001 From: Mnikolenko Productengine Date: Thu, 21 May 2020 16:51:09 +0300 Subject: SL-13252 FIXED Debug info text is shown in snapshots even with Show Interface In Snapshot unchecked --- indra/newview/llviewerwindow.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'indra') diff --git a/indra/newview/llviewerwindow.cpp b/indra/newview/llviewerwindow.cpp index f64dfcf0d4..1067c3e283 100644 --- a/indra/newview/llviewerwindow.cpp +++ b/indra/newview/llviewerwindow.cpp @@ -346,6 +346,12 @@ public: void update() { + if (!gPipeline.hasRenderDebugFeatureMask(LLPipeline::RENDER_DEBUG_FEATURE_UI)) + { + clearText(); + return; + } + static LLCachedControl log_texture_traffic(gSavedSettings,"LogTextureNetworkTraffic", false) ; std::string wind_vel_text; -- cgit v1.2.3