summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/newview/llimprocessing.cpp4
-rw-r--r--indra/newview/llviewermenufile.cpp4
2 files changed, 1 insertions, 7 deletions
diff --git a/indra/newview/llimprocessing.cpp b/indra/newview/llimprocessing.cpp
index ab98c5f50f..e1b58dde51 100644
--- a/indra/newview/llimprocessing.cpp
+++ b/indra/newview/llimprocessing.cpp
@@ -1616,10 +1616,6 @@ void LLIMProcessing::requestOfflineMessagesCoro(std::string url)
{
from_group = message_data["from_group"].asString() == "Y";
}
- else
- {
- from_group = message_data["from_group"].asString() == "Y";
- }
LLIMProcessing::processNewMessage(
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
{