diff options
Diffstat (limited to 'linden/indra/newview/llwlparammanager.cpp')
-rw-r--r-- | linden/indra/newview/llwlparammanager.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/linden/indra/newview/llwlparammanager.cpp b/linden/indra/newview/llwlparammanager.cpp index ba3d070..ba21a96 100644 --- a/linden/indra/newview/llwlparammanager.cpp +++ b/linden/indra/newview/llwlparammanager.cpp | |||
@@ -97,7 +97,10 @@ 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("") | ||
101 | { | 104 | { |
102 | } | 105 | } |
103 | 106 | ||
@@ -226,6 +229,7 @@ void LLWLParamManager::loadPreset(const std::string & name,bool propagate) | |||
226 | setParamSet(name, paramsData); | 229 | setParamSet(name, paramsData); |
227 | } | 230 | } |
228 | presetsXML.close(); | 231 | presetsXML.close(); |
232 | mCurPresetName = name; | ||
229 | } | 233 | } |
230 | else | 234 | else |
231 | { | 235 | { |