Add comment.

pull/3412/head
Malcolm Tyrrell 2020-10-05 14:23:42 +01:00
parent 585fb89154
commit 4bdaf20b70
1 changed files with 1 additions and 0 deletions

View File

@ -189,6 +189,7 @@ void FBXImporter::InternReadFile(const std::string &pFile, aiScene *pScene, IOSy
float size_relative_to_cm = doc.GlobalSettings().UnitScaleFactor(); float size_relative_to_cm = doc.GlobalSettings().UnitScaleFactor();
if (size_relative_to_cm == 0.0) if (size_relative_to_cm == 0.0)
{ {
// BaseImporter later asserts that fileScale is non-zero.
ThrowException("The UnitScaleFactor must be non-zero"); ThrowException("The UnitScaleFactor must be non-zero");
} }