Changeset 312


Ignore:
Timestamp:
Aug 31, 2011, 2:35:51 PM (13 years ago)
Author:
Torben Dannhauer
Message:

Bugfix: Now the updater setting in the XML file are really parsed.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/src/object/visual_object.cpp

    r227 r312  
    142142                {
    143143                        for (xmlNode *sub_cur_node = cur_node->children; sub_cur_node; sub_cur_node = sub_cur_node->next)
    144                         {
    145                                 std::string sub_node_name=reinterpret_cast<const char*>(cur_node->children->name);
     144                        { 
     145                                std::string sub_node_name=reinterpret_cast<const char*>(sub_cur_node->name);
    146146                                if(sub_cur_node->type == XML_ELEMENT_NODE && sub_node_name == "position")
    147147                                {
Note: See TracChangeset for help on using the changeset viewer.