summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorMnikolenko Productengine <mnikolenko@productengine.com>2020-05-21 16:51:09 +0300
committerMnikolenko Productengine <mnikolenko@productengine.com>2020-05-21 16:51:09 +0300
commit62290c7ce35a8f5fa00efd6865a617bc8986b431 (patch)
tree14340f77982c601d13406373ba53e3aed762a3f7 /indra
parent7f84dee494d2331a4557ac490ae0d26bf88895d1 (diff)
SL-13252 FIXED Debug info text is shown in snapshots even with Show Interface In Snapshot unchecked
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/llviewerwindow.cpp6
1 files changed, 6 insertions, 0 deletions
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<bool> log_texture_traffic(gSavedSettings,"LogTextureNetworkTraffic", false) ;
std::string wind_vel_text;