浏览代码

Add comment.

Malcolm Tyrrell 5 年之前
父节点
当前提交
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();
 		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");
         }
         }