浏览代码

Merge branch 'master' of https://github.com/assimp/assimp

Kim Kulling 10 年之前
父节点
当前提交
23dba9fcf2
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      code/ACLoader.cpp

+ 1 - 2
code/ACLoader.cpp

@@ -349,8 +349,7 @@ void AC3DImporter::LoadObjectSection(std::vector<Object>& objects)
                 {
                     if(!GetNextLine())
                     {
-                        DefaultLogger::get()->error("AC3D: Unexpected EOF: surface is incomplete");
-                        break;
+                        throw DeadlyImportError("AC3D: Unexpected EOF: surface is incomplete");
                     }
                     if (TokenMatch(buffer,"mat",3))
                     {