mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-02-06 18:40:23 +00:00
Fix up commit 330e5fefd1274b21e42af59f5ed2b01ebefb0f01
This commit is contained in:
parent
4123398cbc
commit
c1b1d502ee
@ -802,8 +802,7 @@ bool Optimizer::RemoveRedundantNodesVisitor::isOperationPermissible(osg::Node& n
|
|||||||
|
|
||||||
void Optimizer::RemoveRedundantNodesVisitor::apply(osg::Group& group)
|
void Optimizer::RemoveRedundantNodesVisitor::apply(osg::Group& group)
|
||||||
{
|
{
|
||||||
if (group.getNumChildren()==1 &&
|
if (typeid(group)==typeid(osg::Group) &&
|
||||||
typeid(group)==typeid(osg::Group) &&
|
|
||||||
isOperationPermissible(group))
|
isOperationPermissible(group))
|
||||||
{
|
{
|
||||||
_redundantNodeList.insert(&group);
|
_redundantNodeList.insert(&group);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user