forked from mirror/openmw-tes3mp
Fix up commit 330e5fefd1
This commit is contained in:
parent
4123398cbc
commit
c1b1d502ee
1 changed files with 1 additions and 2 deletions
|
@ -802,8 +802,7 @@ bool Optimizer::RemoveRedundantNodesVisitor::isOperationPermissible(osg::Node& n
|
|||
|
||||
void Optimizer::RemoveRedundantNodesVisitor::apply(osg::Group& group)
|
||||
{
|
||||
if (group.getNumChildren()==1 &&
|
||||
typeid(group)==typeid(osg::Group) &&
|
||||
if (typeid(group)==typeid(osg::Group) &&
|
||||
isOperationPermissible(group))
|
||||
{
|
||||
_redundantNodeList.insert(&group);
|
||||
|
|
Loading…
Reference in a new issue