aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/wlsettingsmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/wlsettingsmanager.cpp')
-rw-r--r--linden/indra/newview/wlsettingsmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/linden/indra/newview/wlsettingsmanager.cpp b/linden/indra/newview/wlsettingsmanager.cpp
index ea37f61..853d14f 100644
--- a/linden/indra/newview/wlsettingsmanager.cpp
+++ b/linden/indra/newview/wlsettingsmanager.cpp
@@ -74,6 +74,7 @@
74#include "llviewercontrol.h" 74#include "llviewercontrol.h"
75#include "message.h" 75#include "message.h"
76#include "meta7windlight.h" 76#include "meta7windlight.h"
77#include "llworld.h"
77 78
78#undef max 79#undef max
79 80
@@ -223,6 +224,8 @@ void WLSettingsManager::Apply()
223 sky_mgr->loadPreset( wlSkyPresetName, true ); 224 sky_mgr->loadPreset( wlSkyPresetName, true );
224 } 225 }
225 226
227 LLWorld::getInstance()->rebuildClouds(gAgent.getRegion());
228
226 mSky = NULL; 229 mSky = NULL;
227 mWater = NULL; 230 mWater = NULL;
228 mWaterNormal = NULL; 231 mWaterNormal = NULL;
@@ -232,6 +235,7 @@ void WLSettingsManager::Apply()
232void WLSettingsManager::wlresetRegion() 235void WLSettingsManager::wlresetRegion()
233{ 236{
234 wlIgnoreRegion = false; 237 wlIgnoreRegion = false;
238 LLWorld::getInstance()->rebuildClouds(gAgent.getRegion());
235} 239}
236 240
237// static 241// static