aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llfloaterwindlight.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-10-11 07:53:03 -0700
committerMcCabe Maxsted2009-10-11 07:53:03 -0700
commitf7fa0b1afa99596df47f68511d0fddf7522448fc (patch)
tree7a7bc9226961bfb1d6bc7f8c80cd33eb0153cbb0 /linden/indra/newview/llfloaterwindlight.cpp
parentAdded next/prev buttons to windlight water window (diff)
downloadmeta-impy-f7fa0b1afa99596df47f68511d0fddf7522448fc.zip
meta-impy-f7fa0b1afa99596df47f68511d0fddf7522448fc.tar.gz
meta-impy-f7fa0b1afa99596df47f68511d0fddf7522448fc.tar.bz2
meta-impy-f7fa0b1afa99596df47f68511d0fddf7522448fc.tar.xz
Added advanced water and windlight sky tabs to sky presets pulldown
Diffstat (limited to '')
-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}