diff options
Diffstat (limited to 'linden/indra/newview/llwlparamset.cpp')
-rw-r--r-- | linden/indra/newview/llwlparamset.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linden/indra/newview/llwlparamset.cpp b/linden/indra/newview/llwlparamset.cpp index ea9c00a..19528eb 100644 --- a/linden/indra/newview/llwlparamset.cpp +++ b/linden/indra/newview/llwlparamset.cpp | |||
@@ -145,6 +145,11 @@ void LLWLParamSet::set(const std::string& paramName, float x) | |||
145 | { | 145 | { |
146 | mParamValues[paramName][0] = x; | 146 | mParamValues[paramName][0] = x; |
147 | } | 147 | } |
148 | else | ||
149 | { | ||
150 | //Default this | ||
151 | mParamValues[paramName] = x; | ||
152 | } | ||
148 | } | 153 | } |
149 | 154 | ||
150 | void LLWLParamSet::set(const std::string& paramName, float x, float y) { | 155 | void LLWLParamSet::set(const std::string& paramName, float x, float y) { |