OpenGEX-Importer: remove dead code.

pull/903/head
Kim Kulling 2016-05-26 00:41:31 +02:00
parent 5463146688
commit 2cbbc3da09
1 changed files with 0 additions and 1 deletions

View File

@ -1033,7 +1033,6 @@ void OpenGEXImporter::handleAttenNode( ODDLParser::DDLNode *node, aiScene *pScen
Value *val( node->getValue() ); Value *val( node->getValue() );
const float floatVal( val->getFloat() ); const float floatVal( val->getFloat() );
if ( 0 == strncmp( "scale", prop->m_value->getString(), strlen( "scale" ) ) ) { if ( 0 == strncmp( "scale", prop->m_value->getString(), strlen( "scale" ) ) ) {
//if ( "scale" == prop->m_value->getString() ) {
m_currentLight->mAttenuationQuadratic = floatVal; m_currentLight->mAttenuationQuadratic = floatVal;
} }
} }