Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation()
This commit is contained in:
parent
476a83bb9c
commit
dde703e3b0
@ -194,7 +194,7 @@ class OSGUTIL_EXPORT Optimizer
|
|||||||
if (node->getNumDescriptions()>0) return false;
|
if (node->getNumDescriptions()>0) return false;
|
||||||
if (node->getStateSet()) return false;
|
if (node->getStateSet()) return false;
|
||||||
if (node->getNodeMask()!=0xffffffff) return false;
|
if (node->getNodeMask()!=0xffffffff) return false;
|
||||||
if (!node->getName().empty()) return false;
|
// if (!node->getName().empty()) return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return (option & getPermissibleOptimizationsForObject(node))!=0;
|
return (option & getPermissibleOptimizationsForObject(node))!=0;
|
||||||
|
Loading…
Reference in New Issue
Block a user