aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcolorswatch.cpp
diff options
context:
space:
mode:
authorMm Alder2010-01-03 14:40:37 -0500
committerMm Alder2010-01-03 14:40:37 -0500
commitc17d74a59f10ad1fb9f9a7da2811688ff2944afa (patch)
tree156166a6ab955287780bb60c21238df5876b6e73 /linden/indra/newview/llcolorswatch.cpp
parentVWR-14475 Load from XML is broken (diff)
downloadmeta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.zip
meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.gz
meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.bz2
meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.xz
VWR-15310 Save to XML doesn't set proper XML tags
Diffstat (limited to 'linden/indra/newview/llcolorswatch.cpp')
-rw-r--r--linden/indra/newview/llcolorswatch.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/linden/indra/newview/llcolorswatch.cpp b/linden/indra/newview/llcolorswatch.cpp
index 5f8d9ed..3222c0d 100644
--- a/linden/indra/newview/llcolorswatch.cpp
+++ b/linden/indra/newview/llcolorswatch.cpp
@@ -348,6 +348,8 @@ LLXMLNodePtr LLColorSwatchCtrl::getXML(bool save_children) const
348{ 348{
349 LLXMLNodePtr node = LLUICtrl::getXML(); 349 LLXMLNodePtr node = LLUICtrl::getXML();
350 350
351 node->setName(LL_COLOR_SWATCH_CTRL_TAG);
352
351 node->createChild("color", TRUE)->setFloatValue(4, mColor.mV); 353 node->createChild("color", TRUE)->setFloatValue(4, mColor.mV);
352 354
353 node->createChild("border_color", TRUE)->setFloatValue(4, mBorderColor.mV); 355 node->createChild("border_color", TRUE)->setFloatValue(4, mBorderColor.mV);