fix mem leak.

Signed-off-by: Kim Kulling <kim.kulling@googlemail.com>
This commit is contained in:
Kim Kulling
2015-04-16 11:47:14 +02:00
parent 02ee002878
commit e4b84ff48a

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