fix mem leak.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
pull/538/head
Kim Kulling 2015-04-16 11:47:14 +02:00
parent 02ee002878
commit e4b84ff48a
1 changed files with 0 additions and 6 deletions

View File

@ -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 );
}*/
}
}
}