aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterwindlight.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llfloaterwindlight.cpp')
-rw-r--r--linden/indra/newview/llfloaterwindlight.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/linden/indra/newview/llfloaterwindlight.cpp b/linden/indra/newview/llfloaterwindlight.cpp
index 71e81fa..80090a0 100644
--- a/linden/indra/newview/llfloaterwindlight.cpp
+++ b/linden/indra/newview/llfloaterwindlight.cpp
@@ -46,6 +46,7 @@
46#include "llcombobox.h" 46#include "llcombobox.h"
47#include "lllineeditor.h" 47#include "lllineeditor.h"
48#include "llfloaterdaycycle.h" 48#include "llfloaterdaycycle.h"
49#include "lltabcontainer.h"
49#include "llboost.h" 50#include "llboost.h"
50 51
51#include "v4math.h" 52#include "v4math.h"
@@ -1066,3 +1067,13 @@ void LLFloaterWindLight::onClickPrev(void* user_data)
1066 param_mgr->mAnimator.mUseLindenTime = false; 1067 param_mgr->mAnimator.mUseLindenTime = false;
1067 param_mgr->loadPreset(mIt->first, true); 1068 param_mgr->loadPreset(mIt->first, true);
1068} 1069}
1070
1071//static
1072void LLFloaterWindLight::selectTab(std::string tab_name)
1073{
1074 if (!tab_name.empty())
1075 {
1076 LLTabContainer* tabs = LLFloaterWindLight::instance()->getChild<LLTabContainer>("WindLight Tabs");
1077 tabs->selectTabByName(tab_name);
1078 }
1079}