mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-03 16:39:41 +00:00
optimizer: remove hardcoded condition in RemoveRedundantNodesVisitor
This commit is contained in:
parent
698738c649
commit
af716d4b61
1 changed files with 0 additions and 2 deletions
|
@ -789,8 +789,6 @@ bool Optimizer::RemoveRedundantNodesVisitor::isOperationPermissible(osg::Node& n
|
||||||
{
|
{
|
||||||
return node.getNumParents()>0 &&
|
return node.getNumParents()>0 &&
|
||||||
!node.getStateSet() &&
|
!node.getStateSet() &&
|
||||||
node.getName().empty() &&
|
|
||||||
!node.getUserDataContainer() &&
|
|
||||||
!node.getCullCallback() &&
|
!node.getCullCallback() &&
|
||||||
!node.getEventCallback() &&
|
!node.getEventCallback() &&
|
||||||
!node.getUpdateCallback() &&
|
!node.getUpdateCallback() &&
|
||||||
|
|
Loading…
Reference in a new issue