浏览代码

Fixed issue in STLLoader that lead to wrong node names.

Andreas Henne 10 年之前
父节点
当前提交
ec43e08295
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      code/STLLoader.cpp

+ 0 - 1
code/STLLoader.cpp

@@ -206,7 +206,6 @@ void STLImporter::InternReadFile( const std::string& pFile,
     }
 
     // add all created meshes to the single node
-    pScene->mRootNode = new aiNode();
     pScene->mRootNode->mNumMeshes = pScene->mNumMeshes;
     pScene->mRootNode->mMeshes = new unsigned int[pScene->mNumMeshes];
     for (unsigned int i = 0; i < pScene->mNumMeshes; i++)