Browse Source

Fix STL Expoter error.

xiaohunqupo 4 years ago
parent
commit
8ba1d38dea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      code/AssetLib/STL/STLExporter.cpp

+ 1 - 1
code/AssetLib/STL/STLExporter.cpp

@@ -147,7 +147,7 @@ STLExporter::STLExporter(const char* _filename, const aiScene* pScene, bool expo
         for(unsigned int i = 0; i < pScene->mNumMeshes; ++i) {
         for(unsigned int i = 0; i < pScene->mNumMeshes; ++i) {
             WriteMesh(pScene->mMeshes[ i ]);
             WriteMesh(pScene->mMeshes[ i ]);
         }
         }
-        mOutput << EndSolidToken << name << endl;
+        mOutput << EndSolidToken << " " << name << endl;
     }
     }
 }
 }