OpenGEX-Importer: remove dead code.
parent
5463146688
commit
2cbbc3da09
|
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue