Store SID in SID field

Signed-off-by: Luca Della Vedova <luca@openrobotics.org>
pull/4538/head
Luca Della Vedova 2022-05-23 14:24:56 +08:00
parent 4d451fe437
commit 6b0a7a21a4
No known key found for this signature in database
GPG Key ID: A5C5618AA7D2FF5C
1 changed files with 1 additions and 1 deletions

View File

@ -2057,7 +2057,7 @@ void ColladaParser::ReadSceneNode(XmlNode &node, Node *pNode) {
XmlParser::getStdStrAttribute(currentNode, "id", child->mID);
}
if (XmlParser::hasAttribute(currentNode, "sid")) {
XmlParser::getStdStrAttribute(currentNode, "id", child->mSID);
XmlParser::getStdStrAttribute(currentNode, "sid", child->mSID);
}
if (XmlParser::hasAttribute(currentNode, "name")) {
XmlParser::getStdStrAttribute(currentNode, "name", child->mName);