collada: next iteration.

pull/2966/head
Kim Kulling 2020-09-23 21:23:12 +02:00
parent 34351b3cb9
commit 557273818d
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ std::string ColladaParser::ReadZaeManifest(ZipArchiveIOSystem &zip_archive) {
} }
XmlNode root = manifestParser.getRootNode(); XmlNode root = manifestParser.getRootNode();
const std::string &name = root.child("dae_root"); const std::string &name = root.name();
if (name != "dae_root") { if (name != "dae_root") {
root = *manifestParser.findNode("dae_root"); root = *manifestParser.findNode("dae_root");
if (nullptr == root) { if (nullptr == root) {