Add comment.

This commit is contained in:
Malcolm Tyrrell
2020-10-05 14:23:42 +01:00
parent 585fb89154
commit 4bdaf20b70

View File

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