diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llui/llslider.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/linden/indra/llui/llslider.cpp b/linden/indra/llui/llslider.cpp index 4dfc904..7b4da9b 100644 --- a/linden/indra/llui/llslider.cpp +++ b/linden/indra/llui/llslider.cpp | |||
@@ -291,6 +291,15 @@ LLXMLNodePtr LLSlider::getXML(bool save_children) const | |||
291 | { | 291 | { |
292 | LLXMLNodePtr node = LLUICtrl::getXML(); | 292 | LLXMLNodePtr node = LLUICtrl::getXML(); |
293 | 293 | ||
294 | if (mVolumeSlider) | ||
295 | { | ||
296 | node->setName(LL_VOLUME_SLIDER_CTRL_TAG); | ||
297 | } | ||
298 | else | ||
299 | { | ||
300 | node->setName(LL_SLIDER_TAG); | ||
301 | } | ||
302 | |||
294 | node->createChild("initial_val", TRUE)->setFloatValue(getInitialValue()); | 303 | node->createChild("initial_val", TRUE)->setFloatValue(getInitialValue()); |
295 | node->createChild("min_val", TRUE)->setFloatValue(getMinValue()); | 304 | node->createChild("min_val", TRUE)->setFloatValue(getMinValue()); |
296 | node->createChild("max_val", TRUE)->setFloatValue(getMaxValue()); | 305 | node->createChild("max_val", TRUE)->setFloatValue(getMaxValue()); |