1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-03 16:09:39 +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() &&