I've just seen a compile error in osgviewerWX.cpp on OSX, complaining that cout is not a member of std. I'll get back to you about it as soon as I can.
andy -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robert Osfield Sent: Friday, March 14, 2008 8:34 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Testing of SVN version please Hi Tony et al, On Fri, Mar 14, 2008 at 11:36 AM, Robert Osfield <[EMAIL PROTECTED]> wrote: > While I wait for feedback on the OSX I'll ponder on this issue so more > to see if I can come up with quick solution, but it may well be > something that requires more extensive changes beyond > StateSetManipulator and hence more time so would have to wait till > after 2.3.5. I've implemented a solution to the threading issue in StateSetManipulator. The solution is to clone the StateSet before modifying it, and reassigned this cloned StateSet to the parents of the original StateSet. This process effectively disconnects the original StateSet from the scene graph but otherwise keeps all its variable in tack - so the that the draw traversal that will be running in parallel with the updates (when multi-threaded) will not be affected as it's got its own ref_ptr<> to the StateSet. My testing at this end suggest that the fixes is solid. If things work out this is possible solution that I could add directly to StateSet, providing a convenience function for doing this cloning and reassignment. Could you do an svn update and let me know if the fix works at you end as well. Thanks, Robert. _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or g _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org