summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authormaxim_productengine <mnikolenko@productengine.com>2018-10-10 16:11:44 +0300
committermaxim_productengine <mnikolenko@productengine.com>2018-10-10 16:11:44 +0300
commit5c5d7eb1fee8194f02d86e76c1f1eadc161ff462 (patch)
treecd9dba6d69277e7fc399e94e7a3e6cbe0f32dc36 /indra/newview
parent4e930a9f82ae6fa2937ca2ef2c2b74e16a3caa03 (diff)
SL-9850 Show correct values for ‘Cloud Detail’ settings
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/llpaneleditsky.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/llpaneleditsky.cpp b/indra/newview/llpaneleditsky.cpp
index 1e1683c2e2..082097cdfb 100644
--- a/indra/newview/llpaneleditsky.cpp
+++ b/indra/newview/llpaneleditsky.cpp
@@ -317,7 +317,7 @@ void LLPanelSettingsSkyCloudTab::refresh()
getChild<LLUICtrl>(FIELD_SKY_CLOUD_DENSITY_Y)->setValue(cloudDensity[1]);
getChild<LLUICtrl>(FIELD_SKY_CLOUD_DENSITY_D)->setValue(cloudDensity[2]);
- LLVector3 cloudDetail(mSkySettings->getCloudPosDensity1().getValue());
+ LLVector3 cloudDetail(mSkySettings->getCloudPosDensity2().getValue());
getChild<LLUICtrl>(FIELD_SKY_CLOUD_DETAIL_X)->setValue(cloudDetail[0]);
getChild<LLUICtrl>(FIELD_SKY_CLOUD_DETAIL_Y)->setValue(cloudDetail[1]);
getChild<LLUICtrl>(FIELD_SKY_CLOUD_DETAIL_D)->setValue(cloudDetail[2]);