diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llfloaterenvsettings.cpp | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/linden/indra/newview/llfloaterenvsettings.cpp b/linden/indra/newview/llfloaterenvsettings.cpp index 801ff49..2cb1988 100644 --- a/linden/indra/newview/llfloaterenvsettings.cpp +++ b/linden/indra/newview/llfloaterenvsettings.cpp | |||
@@ -291,21 +291,6 @@ void LLFloaterEnvSettings::onOpenWLManager(void* userData) | |||
291 | WLFloaterManager::show(); | 291 | WLFloaterManager::show(); |
292 | } | 292 | } |
293 | 293 | ||
294 | void LLFloaterEnvSettings::onSubmitWindlight(void* userData) | ||
295 | { | ||
296 | Meta7WindlightPacket * wl = new Meta7WindlightPacket(); | ||
297 | |||
298 | LLWaterParamManager * param_mgr = LLWaterParamManager::instance(); | ||
299 | wl->reflectionWaveletScale.X = param_mgr->mNormalScale.mX; | ||
300 | wl->reflectionWaveletScale.Y = param_mgr->mNormalScale.mY; | ||
301 | wl->reflectionWaveletScale.Z = param_mgr->mNormalScale.mZ; | ||
302 | |||
303 | |||
304 | std::vector<std::string> strings; | ||
305 | strings.push_back((char*)wl); | ||
306 | send_generic_message("Windlight", strings); | ||
307 | } | ||
308 | |||
309 | void LLFloaterEnvSettings::onUseEstateTime(void* userData) | 294 | void LLFloaterEnvSettings::onUseEstateTime(void* userData) |
310 | { | 295 | { |
311 | if(LLFloaterWindLight::isOpen()) | 296 | if(LLFloaterWindLight::isOpen()) |