Skip to content

Commit

Permalink
[OMEdit] Fix crash when parsing shape visualizers (#9018)
Browse files Browse the repository at this point in the history
Due to PRs #8987 & #9000
  • Loading branch information
anotheruserofgithub committed May 25, 2022
1 parent e4e4270 commit ff8602f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OMEdit/OMEditLIB/Animation/Visualizer.cpp
Expand Up @@ -115,7 +115,7 @@ void OMVisualBase::initVisObjects()
ShapeObject shape;
rapidxml::xml_node<>* expNode;

for (rapidxml::xml_node<>* shapeNode = rootNode->first_node("shape"); shapeNode; shapeNode = shapeNode->next_sibling())
for (rapidxml::xml_node<>* shapeNode = rootNode->first_node("shape"); shapeNode; shapeNode = shapeNode->next_sibling("shape"))
{
expNode = shapeNode->first_node((const char*) "ident")->first_node();
shape._id = std::string(expNode->value());
Expand Down

0 comments on commit ff8602f

Please sign in to comment.