summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenufile.cpp
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2020-08-18 22:10:55 +0300
committerAndrey Lihatskiy <alihatskiy@productengine.com>2020-08-18 22:41:39 +0300
commit5939fc845815906db279434bad1b7c3296be25dc (patch)
tree2012ea51e87752bedb60e44fce80921cdda747c3 /indra/newview/llviewermenufile.cpp
parent4b1a0e51b0e636b0b4cb8b32557283d16794d074 (diff)
Buildfix
Diffstat (limited to 'indra/newview/llviewermenufile.cpp')
-rw-r--r--indra/newview/llviewermenufile.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/indra/newview/llviewermenufile.cpp b/indra/newview/llviewermenufile.cpp
index 7eacb109ce..de31ccc87e 100644
--- a/indra/newview/llviewermenufile.cpp
+++ b/indra/newview/llviewermenufile.cpp
@@ -688,9 +688,6 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
{
width *= 2;
height *= 2;
- // not compatible wirh UI/HUD
- render_ui = false;
- render_hud = false;
}
if (gViewerWindow->rawSnapshot(raw,
@@ -700,6 +697,7 @@ class LLFileTakeSnapshotToDisk : public view_listener_t
FALSE,
gSavedSettings.getBOOL("RenderUIInSnapshot"),
FALSE,
+ FALSE,
LLSnapshotModel::SNAPSHOT_TYPE_COLOR,
high_res ? S32_MAX : MAX_SNAPSHOT_IMAGE_SIZE)) //per side
{