diff options
author | Mm Alder | 2010-01-03 14:40:37 -0500 |
---|---|---|
committer | Mm Alder | 2010-01-03 14:40:37 -0500 |
commit | c17d74a59f10ad1fb9f9a7da2811688ff2944afa (patch) | |
tree | 156166a6ab955287780bb60c21238df5876b6e73 /linden/indra/llui/llview.cpp | |
parent | VWR-14475 Load from XML is broken (diff) | |
download | meta-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/llui/llview.cpp')
-rw-r--r-- | linden/indra/llui/llview.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/llui/llview.cpp b/linden/indra/llui/llview.cpp index 36bc850..8de376f 100644 --- a/linden/indra/llui/llview.cpp +++ b/linden/indra/llui/llview.cpp | |||
@@ -1943,7 +1943,7 @@ BOOL LLView::localRectToOtherView( const LLRect& local, LLRect* other, LLView* o | |||
1943 | // virtual | 1943 | // virtual |
1944 | LLXMLNodePtr LLView::getXML(bool save_children) const | 1944 | LLXMLNodePtr LLView::getXML(bool save_children) const |
1945 | { | 1945 | { |
1946 | //FIXME: need to provide actual derived type tag, probably outside this method | 1946 | //If called from a derived class, the derived class will override the node name |
1947 | LLXMLNodePtr node = new LLXMLNode("view", FALSE); | 1947 | LLXMLNodePtr node = new LLXMLNode("view", FALSE); |
1948 | 1948 | ||
1949 | node->createChild("name", TRUE)->setStringValue(getName()); | 1949 | node->createChild("name", TRUE)->setStringValue(getName()); |
@@ -2353,6 +2353,8 @@ LLView* LLView::findSnapEdge(S32& new_edge_val, const LLCoordGL& mouse_dir, ESna | |||
2353 | void LLView::registerEventListener(std::string name, LLSimpleListener* function) | 2353 | void LLView::registerEventListener(std::string name, LLSimpleListener* function) |
2354 | { | 2354 | { |
2355 | mDispatchList.insert(std::pair<std::string, LLSimpleListener*>(name, function)); | 2355 | mDispatchList.insert(std::pair<std::string, LLSimpleListener*>(name, function)); |
2356 | lldebugs << getName() << " registered " << name << llendl; | ||
2357 | |||
2356 | } | 2358 | } |
2357 | 2359 | ||
2358 | void LLView::deregisterEventListener(std::string name) | 2360 | void LLView::deregisterEventListener(std::string name) |