From 45cc0b582a54b7c028d2d426d856ff95ed905946 Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Tue, 31 Mar 2015 12:18:57 +0200 Subject: [PATCH] fix creation of unused mesh instance. Signed-off-by: Kim Kulling --- code/OpenGEXImporter.cpp | 9 --------- 1 file changed, 9 deletions(-) diff --git a/code/OpenGEXImporter.cpp b/code/OpenGEXImporter.cpp index a9e415f52..40d90cfb1 100644 --- a/code/OpenGEXImporter.cpp +++ b/code/OpenGEXImporter.cpp @@ -440,15 +440,6 @@ void OpenGEXImporter::handleGeometryNode( DDLNode *node, aiScene *pScene ) { //------------------------------------------------------------------------------------------------ void OpenGEXImporter::handleGeometryObject( DDLNode *node, aiScene *pScene ) { - aiMesh *currentMesh( new aiMesh ); - const size_t idx( m_meshCache.size() ); - m_meshCache.push_back( currentMesh ); - - // store name to reference relation - m_mesh2refMap[ node->getName() ] = idx; - - // todo: child nodes? - handleNodes( node, pScene ); }