summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelenvironment.cpp
diff options
context:
space:
mode:
authorandreykproductengine <andreykproductengine@lindenlab.com>2019-03-29 17:09:30 +0200
committerandreykproductengine <andreykproductengine@lindenlab.com>2019-03-29 17:09:30 +0200
commit0a6d87458149fed16f98aac59447307c006db4b7 (patch)
tree4153f0ba7f34fa1df80183a6e63cc9c6b62fbc82 /indra/newview/llpanelenvironment.cpp
parentc2864468d69d6ef94ba6ec2db23729c490ec8f3d (diff)
SL-9650 About Land UI is corrupted
Diffstat (limited to 'indra/newview/llpanelenvironment.cpp')
-rw-r--r--indra/newview/llpanelenvironment.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/llpanelenvironment.cpp b/indra/newview/llpanelenvironment.cpp
index 876b965fe9..cda1137182 100644
--- a/indra/newview/llpanelenvironment.cpp
+++ b/indra/newview/llpanelenvironment.cpp
@@ -191,6 +191,8 @@ BOOL LLPanelEnvironmentInfo::postBuild()
{
drop_target->setPanel(this, alt_sliders[idx]);
}
+ // set initial values to prevent [ALTITUDE] from displaying
+ updateAltLabel(alt_prefixes[idx], idx + 2, idx * 1000);
}
getChild<LLSettingsDropTarget>("sdt_" + alt_prefixes[3])->setPanel(this, alt_prefixes[3]);
getChild<LLSettingsDropTarget>("sdt_" + alt_prefixes[4])->setPanel(this, alt_prefixes[4]);