Răsfoiți Sursa

Fix STL Expoter error.

xiaohunqupo 4 ani în urmă
părinte
comite
8ba1d38dea
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  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) {
             WriteMesh(pScene->mMeshes[ i ]);
         }
-        mOutput << EndSolidToken << name << endl;
+        mOutput << EndSolidToken << " " << name << endl;
     }
 }