mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-17 10:21:11 +00:00
Slightly optimize MergeGroupsVisitor's xenophobia
This commit is contained in:
parent
3a21915bbd
commit
81e9212db9
@ -1935,8 +1935,8 @@ bool Optimizer::MergeGroupsVisitor::isOperationPermissible(osg::Group& node)
|
|||||||
return !node.getCullCallback() &&
|
return !node.getCullCallback() &&
|
||||||
!node.getEventCallback() &&
|
!node.getEventCallback() &&
|
||||||
!node.getUpdateCallback() &&
|
!node.getUpdateCallback() &&
|
||||||
isOperationPermissibleForObject(&node) &&
|
typeid(node)==typeid(osg::Group) &&
|
||||||
typeid(node)==typeid(osg::Group);
|
isOperationPermissibleForObject(&node);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Optimizer::MergeGroupsVisitor::apply(osg::LOD &lod)
|
void Optimizer::MergeGroupsVisitor::apply(osg::LOD &lod)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user