Просмотр исходного кода

Merge branch 'master' into fixbuild

Kim Kulling 7 лет назад
Родитель
Сommit
e29437ff3b
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      code/FBXDocumentUtil.cpp

+ 1 - 1
code/FBXDocumentUtil.cpp

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