Merge pull request #4538 from luca-della-vedova/fix/collada_parser_sid
ColladaParser - Store sid in mSID fieldpull/4635/head^2
commit
cb43690aad
|
@ -2057,7 +2057,7 @@ void ColladaParser::ReadSceneNode(XmlNode &node, Node *pNode) {
|
||||||
XmlParser::getStdStrAttribute(currentNode, "id", child->mID);
|
XmlParser::getStdStrAttribute(currentNode, "id", child->mID);
|
||||||
}
|
}
|
||||||
if (XmlParser::hasAttribute(currentNode, "sid")) {
|
if (XmlParser::hasAttribute(currentNode, "sid")) {
|
||||||
XmlParser::getStdStrAttribute(currentNode, "id", child->mSID);
|
XmlParser::getStdStrAttribute(currentNode, "sid", child->mSID);
|
||||||
}
|
}
|
||||||
if (XmlParser::hasAttribute(currentNode, "name")) {
|
if (XmlParser::hasAttribute(currentNode, "name")) {
|
||||||
XmlParser::getStdStrAttribute(currentNode, "name", child->mName);
|
XmlParser::getStdStrAttribute(currentNode, "name", child->mName);
|
||||||
|
|
Loading…
Reference in New Issue