From 162ac8865cb927c561283da696570dcd68490c67 Mon Sep 17 00:00:00 2001 From: McCabe Maxsted Date: Sun, 13 Sep 2009 20:26:02 -0700 Subject: Added prev/next buttons for windlight presets, cleaned up some stuff --- linden/indra/newview/llwlparammanager.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'linden/indra/newview/llwlparammanager.cpp') 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() : // sky dome mDomeOffset(0.96f), - mDomeRadius(15000.f), - - // current name - mCurPresetName("") + mDomeRadius(15000.f) { } @@ -229,7 +226,6 @@ void LLWLParamManager::loadPreset(const std::string & name,bool propagate) setParamSet(name, paramsData); } presetsXML.close(); - mCurPresetName = name; } else { -- cgit v1.1