Made the calling of drawable update callbacks always happen when a geode
is traversed in the update traversal.
This commit is contained in:
parent
2812c50329
commit
243b288d87
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user