Fixed issue in STLLoader that lead to wrong node names.

pull/636/head
Andreas Henne 2015-08-14 13:37:41 +02:00
parent bcf3f985fb
commit ec43e08295
1 changed files with 0 additions and 1 deletions

View File

@ -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++)