summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2018-10-10 16:27:07 +0000
committerRider Linden <rider@lindenlab.com>2018-10-10 16:27:07 +0000
commit198b3b6b99f494543c62b4e0923c14931fd4ab00 (patch)
tree1af382ef53fb01a514e6f28191cf2251d139465a
parentfdde250d58403c00f3b74f7503b48f624bbdf408 (diff)
parent5c5d7eb1fee8194f02d86e76c1f1eadc161ff462 (diff)
Merged in maxim_productengine/viewer-eep (pull request #142)
SL-9850 Show correct values for ‘Cloud Detail’ settings
-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]);