FBX: store UnitScaleFactor for fbx-files.

This commit is contained in:
kim kulling
2018-01-23 15:13:23 +01:00
parent 8ac1de3287
commit 88a0bb1b6d
9 changed files with 479 additions and 446 deletions

View File

@@ -344,9 +344,8 @@ void Document::ReadGlobalSettings()
{
const Scope& sc = parser.GetRootScope();
const Element* const ehead = sc["GlobalSettings"];
if(!ehead || !ehead->Compound()) {
DOMWarning("no GlobalSettings dictionary found");
if ( nullptr == ehead || !ehead->Compound() ) {
DOMWarning( "no GlobalSettings dictionary found" );
globals.reset(new FileGlobalSettings(*this, std::make_shared<const PropertyTable>()));
return;
}