1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-06 01:15:32 +00:00

optimizer: remove hardcoded condition in RemoveRedundantNodesVisitor

This commit is contained in:
scrawl 2017-02-23 20:02:04 +01:00
parent 698738c649
commit af716d4b61

View file

@ -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() &&