diff --git a/code/STLLoader.cpp b/code/STLLoader.cpp index 1bf47dcf2..a9fe79f27 100644 --- a/code/STLLoader.cpp +++ b/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++)