summaryrefslogtreecommitdiff
path: root/indra/newview/llviewermenu.cpp
diff options
context:
space:
mode:
authorMnikolenko ProductEngine <mnikolenko@productengine.com>2014-04-15 10:54:15 +0300
committerMnikolenko ProductEngine <mnikolenko@productengine.com>2014-04-15 10:54:15 +0300
commit4eeff34c6514160b3abefce35cee5f0e4e8cf1de (patch)
treea8a538309edec517bcf78c46256f83bef39c18f9 /indra/newview/llviewermenu.cpp
parent4cf5d945d4e892c1c5383e49910759c24ecbf591 (diff)
MAINT-3931 FIXED Don't display any other check marks if Region Settings is selected.
Diffstat (limited to 'indra/newview/llviewermenu.cpp')
-rwxr-xr-xindra/newview/llviewermenu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/llviewermenu.cpp b/indra/newview/llviewermenu.cpp
index ab9551ad17..e8759ee4ca 100755
--- a/indra/newview/llviewermenu.cpp
+++ b/indra/newview/llviewermenu.cpp
@@ -8242,9 +8242,9 @@ class LLWorldEnableEnvSettings : public view_listener_t
bool result = false;
std::string tod = userdata.asString();
- if (tod == "region")
+ if (LLEnvManagerNew::instance().getUseRegionSettings())
{
- return LLEnvManagerNew::instance().getUseRegionSettings();
+ return (tod == "region");
}
if (LLEnvManagerNew::instance().getUseFixedSky())