diff options
author | Rider Linden <rider@lindenlab.com> | 2018-10-01 16:49:44 -0700 |
---|---|---|
committer | Rider Linden <rider@lindenlab.com> | 2018-10-01 16:49:44 -0700 |
commit | 83c2692ffcde2409ed983cb82a1b4d3fc759f72b (patch) | |
tree | 6157033a78abfd9fc7b0274b9999f545b0a52e00 /indra/newview/llpanelenvironment.cpp | |
parent | fdfb60ecb10a35efdc378ae507e1c65114a987a3 (diff) |
Hide altitudes on legacy regions
Diffstat (limited to 'indra/newview/llpanelenvironment.cpp')
-rw-r--r-- | indra/newview/llpanelenvironment.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp index ee27d28140..ecd67ff8af 100644 --- a/indra/newview/llpanelenvironment.cpp +++ b/indra/newview/llpanelenvironment.cpp @@ -373,7 +373,7 @@ bool LLPanelEnvironmentInfo::setControlsEnabled(bool enabled) getChild<LLUICtrl>(PNL_BUTTONS)->setVisible(true); getChild<LLUICtrl>(PNL_DISABLED)->setVisible(false); - getChild<LLUICtrl>(PNL_ENVIRONMENT_ALTITUDES)->setVisible(isRegion()); + getChild<LLUICtrl>(PNL_ENVIRONMENT_ALTITUDES)->setVisible(isRegion() && LLEnvironment::instance().isExtendedEnvironmentEnabled()); S32 rdo_selection = getChild<LLRadioGroup>(RDG_ENVIRONMENT_SELECT)->getSelectedIndex(); |