mirror of
https://github.com/OpenMW/openmw.git
synced 2025-07-04 17:11:36 +00:00
Slightly optimize MergeGroupsVisitor's xenophobia
This commit is contained in:
parent
3a21915bbd
commit
81e9212db9
1 changed files with 2 additions and 2 deletions
|
@ -1935,8 +1935,8 @@ bool Optimizer::MergeGroupsVisitor::isOperationPermissible(osg::Group& node)
|
|||
return !node.getCullCallback() &&
|
||||
!node.getEventCallback() &&
|
||||
!node.getUpdateCallback() &&
|
||||
isOperationPermissibleForObject(&node) &&
|
||||
typeid(node)==typeid(osg::Group);
|
||||
typeid(node)==typeid(osg::Group) &&
|
||||
isOperationPermissibleForObject(&node);
|
||||
}
|
||||
|
||||
void Optimizer::MergeGroupsVisitor::apply(osg::LOD &lod)
|
||||
|
|
Loading…
Reference in a new issue