Made the calling of drawable update callbacks always happen when a geode

is traversed in the update traversal.
This commit is contained in:
Robert Osfield 2003-09-24 18:53:47 +00:00
parent 2812c50329
commit 243b288d87

View File

@ -79,7 +79,7 @@ class OSGUTIL_EXPORT UpdateVisitor : public osg::NodeVisitor
{
osg::NodeCallback* callback = node.getUpdateCallback();
if (callback) (*callback)(&node,this);
else if (node.getNumChildrenRequiringUpdateTraversal()>0) traverseGeode(node);
/*else if (node.getNumChildrenRequiringUpdateTraversal()>0)*/ traverseGeode(node);
}
inline void traverseGeode(osg::Geode& geode)