aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden
diff options
context:
space:
mode:
Diffstat (limited to 'linden')
-rw-r--r--linden/indra/newview/llfloaterwindlight.cpp11
1 files changed, 8 insertions, 3 deletions
diff --git a/linden/indra/newview/llfloaterwindlight.cpp b/linden/indra/newview/llfloaterwindlight.cpp
index 3cbcab1..71e81fa 100644
--- a/linden/indra/newview/llfloaterwindlight.cpp
+++ b/linden/indra/newview/llfloaterwindlight.cpp
@@ -476,12 +476,17 @@ void LLFloaterWindLight::show()
476 // comment in if you want the menu to rebuild each time 476 // comment in if you want the menu to rebuild each time
477 //LLUICtrlFactory::getInstance()->buildFloater(windLight, "floater_windlight_options.xml"); 477 //LLUICtrlFactory::getInstance()->buildFloater(windLight, "floater_windlight_options.xml");
478 //windLight->initCallbacks(); 478 //windLight->initCallbacks();
479
480 windLight->open();
481 } 479 }
482 else 480 else
483 { 481 {
484 sWindLight->close(); 482 if (sWindLight->getVisible())
483 {
484 sWindLight->close();
485 }
486 else
487 {
488 sWindLight->open();
489 }
485 } 490 }
486} 491}
487 492