Skip to content
Snippets Groups Projects
Verified Commit 6447f886 authored by Mohcine Chraibi's avatar Mohcine Chraibi
Browse files

bug in parseTransition

parent 16aaa44f
Branches
Tags
No related merge requests found
...@@ -613,7 +613,7 @@ bool Building::LoadGeometry(const std::string &geometryfile) ...@@ -613,7 +613,7 @@ bool Building::LoadGeometry(const std::string &geometryfile)
} }
for (TiXmlElement* xTrans = xTransNodeFile->FirstChildElement("transition"); xTrans; for (TiXmlElement* xTrans = xTransNodeFile->FirstChildElement("transition"); xTrans;
xTrans = xTrans->NextSiblingElement("transition")) { xTrans = xTrans->NextSiblingElement("transition")) {
Transition * t = parseTransitionNode(xTrans, building); Transition * t = parseTransitionNode(xTrans);
building->AddTransition(t); building->AddTransition(t);
} }
} }
......
...@@ -99,6 +99,7 @@ public: ...@@ -99,6 +99,7 @@ public:
Transition* GetTransition(std::string caption) const; Transition* GetTransition(std::string caption) const;
Transition* GetTransition(int id) ; Transition* GetTransition(int id) ;
Transition* ParseTransition(TiXmlElement * xTrans);
/** /**
* Not implemented * Not implemented
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment