Commented out the if (!node->getName().empty()) return false; in isOperationPermissibleImplementation()

This commit is contained in:
Robert Osfield 2005-03-23 08:30:15 +00:00
parent 476a83bb9c
commit dde703e3b0

View File

@ -194,7 +194,7 @@ class OSGUTIL_EXPORT Optimizer
if (node->getNumDescriptions()>0) return false;
if (node->getStateSet()) 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;