optimizer: remove hardcoded condition in RemoveRedundantNodesVisitor

pull/167/head
scrawl 8 years ago
parent 698738c649
commit af716d4b61

@ -789,8 +789,6 @@ bool Optimizer::RemoveRedundantNodesVisitor::isOperationPermissible(osg::Node& n
{
return node.getNumParents()>0 &&
!node.getStateSet() &&
node.getName().empty() &&
!node.getUserDataContainer() &&
!node.getCullCallback() &&
!node.getEventCallback() &&
!node.getUpdateCallback() &&

Loading…
Cancel
Save