From e4b84ff48aec90f9cdc89dd26795d7a4dabbee9c Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 16 Apr 2015 11:47:14 +0200 Subject: [PATCH] fix mem leak. Signed-off-by: Kim Kulling --- code/OpenGEXImporter.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/code/OpenGEXImporter.cpp b/code/OpenGEXImporter.cpp index 596eff03b..7a4525833 100644 --- a/code/OpenGEXImporter.cpp +++ b/code/OpenGEXImporter.cpp @@ -772,12 +772,6 @@ void OpenGEXImporter::handleColorNode( ODDLParser::DDLNode *node, aiScene *pScen Property *colorProp = node->getProperties(); if( NULL != colorProp ) { if( NULL != colorProp->m_id ) { -/* ColorType type( getColorType( colorProp->m_primData ) ); - if( type == DiffuseColor ) { - aiColor3D *col = new aiColor3D; - getColorRGBA( col, node->getValue() ); - m_currentMaterial->AddProperty( col, 1, AI_MATKEY_COLOR_DIFFUSE ); - }*/ } } }