Hi Zach, On 2/4/07, Zach Deedler <[EMAIL PROTECTED]> wrote:
Hi Robert,Commenting out setNumChildrenRequiringUpdateTraversal(1) in two locations of osgSim::DOFTransform.cpp does the trick, but I'd rather not edit osg locally. Could we move this to: inline void setAnimationOn(bool do_animate) {_animationOn = do_animate; setNumChildrenRequiringUpdateTraversal(_animationOn==true);}
This change would be a bit buggy, but is along the right lines. I'll tinker today.
Or is this code invalid for DOFs that are shared?
Not because they are ahread, sharing doesn't affect the animation state. The above code would break when you have animation of on the DOF but a child below that has animation on. Robert. _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
