fixes related to tinyxml2
This commit is contained in:
1 parent
9c5d757879
commit
dbb0318782
2 files changed
+4
-5
No files matched your search
@@ -575,7 +575,7 @@ void LoadMeshFromCollada(const char* relativeFileName, btAlignedObjectArray<GLIn
|
||||
}
|
||||
|
||||
XMLDocument doc;
|
||||
if (!doc.LoadFile(filename))
|
||||
if (doc.LoadFile(filename) != XML_SUCCESS)
|
||||
return;
|
||||
|
||||
//We need units to be in meter, so apply a scaling using the asset/units meter
|
||||
|
||||
Reference in new issue
Block a user