aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llwlparammanager.cpp
diff options
context:
space:
mode:
authorMcCabe Maxsted2009-09-13 20:26:02 -0700
committerMcCabe Maxsted2009-09-13 20:26:02 -0700
commit162ac8865cb927c561283da696570dcd68490c67 (patch)
tree46fc91ae7a03fadbb03afa5d87f15f6986f044b9 /linden/indra/newview/llwlparammanager.cpp
parentFixed windlight toolbar presets not applying when region default (diff)
downloadmeta-impy-162ac8865cb927c561283da696570dcd68490c67.zip
meta-impy-162ac8865cb927c561283da696570dcd68490c67.tar.gz
meta-impy-162ac8865cb927c561283da696570dcd68490c67.tar.bz2
meta-impy-162ac8865cb927c561283da696570dcd68490c67.tar.xz
Added prev/next buttons for windlight presets, cleaned up some stuff
Diffstat (limited to 'linden/indra/newview/llwlparammanager.cpp')
-rw-r--r--linden/indra/newview/llwlparammanager.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/linden/indra/newview/llwlparammanager.cpp b/linden/indra/newview/llwlparammanager.cpp
index ba21a96..ba3d070 100644
--- a/linden/indra/newview/llwlparammanager.cpp
+++ b/linden/indra/newview/llwlparammanager.cpp
@@ -97,10 +97,7 @@ LLWLParamManager::LLWLParamManager() :
97 97
98 // sky dome 98 // sky dome
99 mDomeOffset(0.96f), 99 mDomeOffset(0.96f),
100 mDomeRadius(15000.f), 100 mDomeRadius(15000.f)
101
102 // current name
103 mCurPresetName("")
104{ 101{
105} 102}
106 103
@@ -229,7 +226,6 @@ void LLWLParamManager::loadPreset(const std::string & name,bool propagate)
229 setParamSet(name, paramsData); 226 setParamSet(name, paramsData);
230 } 227 }
231 presetsXML.close(); 228 presetsXML.close();
232 mCurPresetName = name;
233 } 229 }
234 else 230 else
235 { 231 {