Malcolm Tyrrell 5 лет назад
Родитель
Сommit
4bdaf20b70
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      code/AssetLib/FBX/FBXImporter.cpp

+ 1 - 0
code/AssetLib/FBX/FBXImporter.cpp

@@ -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");
         }