Commit 8448b6f7 authored by NiranV's avatar NiranV

Fixed: Sun image texture control not updating and showing the currently loaded...

Fixed: Sun image texture control not updating and showing the currently loaded textures whenever a preset is loaded.
parent 0dc60252
......@@ -319,6 +319,7 @@ void LLFloaterEnvironmentAdjust::refresh()
mStarBrightness->setValue(mLiveSky->getStarBrightness());
mSunMoonColor->set(mLiveSky->getSunlightColor() / SLIDER_SCALE_SUN_AMBIENT);
mSunScale->setValue(mLiveSky->getSunScale());
mSunImage->setValue(mLiveSky->getSunTextureId());
mMoonImage->setValue(mLiveSky->getMoonTextureId());
mMoonScale->setValue(mLiveSky->getMoonScale());
mMoonBrightness->setValue(mLiveSky->getMoonBrightness());
......
......@@ -514,6 +514,7 @@ void LLPanelSettingsSkySunMoonTab::refresh()
mStarBrightness->setValue(mSkySettings->getStarBrightness());
mSunMoonColor->set(mSkySettings->getSunlightColor() / SLIDER_SCALE_SUN_AMBIENT);
mSunScale->setValue(mSkySettings->getSunScale());
mSunImage->setValue(mSkySettings->getSunTextureId());
mMoonImage->setValue(mSkySettings->getMoonTextureId());
mMoonScale->setValue(mSkySettings->getMoonScale());
mMoonBrightness->setValue(mSkySettings->getMoonBrightness());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment