Merge pull request #2018 from maxvollmer/master

Added check for NULL Compound in Properties70 element (fixes DeadlyImportError on some FBX files)
pull/2013/head^2
Kim Kulling 2018-06-15 20:39:53 +02:00 committed by GitHub
commit 878b4b2c18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ std::shared_ptr<const PropertyTable> GetPropertyTable(const Document& doc,
}
}
if(!Properties70) {
if(!Properties70 || !Properties70->Compound()) {
if(!no_warn) {
DOMWarning("property table (Properties70) not found",&element);
}