closes https://github.com/assimp/assimp/issues/774: use correct type for unitscale in fbx.

This commit is contained in:
Kim Kulling
2018-02-04 16:42:36 +01:00
parent 455ff4ab81
commit 37d352622b
2 changed files with 5 additions and 3 deletions

View File

@@ -351,7 +351,9 @@ void Document::ReadGlobalSettings()
return;
}
std::shared_ptr<const PropertyTable> props = GetPropertyTable(*this, "", *ehead, *ehead->Compound(), true);
std::shared_ptr<const PropertyTable> props = GetPropertyTable( *this, "", *ehead, *ehead->Compound(), true );
//double v = PropertyGet<float>( *props.get(), std::string("UnitScaleFactor"), 1.0 );
if(!props) {
DOMError("GlobalSettings dictionary contains no property table");