You should only update a stateset, drawable, or the scene graph structure from the update traversal, update callback, or update operation. Are you modifying anything at runtime?
Outside of the Optimizer, DataVariance has no effect in SingleThreaded mode. It also has no effect on Nodes (only Drawables and StateSets). So it's more likely that you are trying to modify the scene graph from another thread without proper synchronization. Glenn Waldron / @glennwaldron On Thu, Feb 23, 2012 at 4:06 AM, Eric Pouliquen <[email protected]> wrote: > Thanks for these clarifications Paul. > > Currently my application still crashes even I've put Dynamic datavariance > on every modified node... and this crash appears also in SingleThreaded > mode. It always crashes on the frame() viewer's function which I use in a > custom thread in Qt. My main problem is that when it crashes, it seems > impossible to know which node is the problem because I can't see any thing > clearly in my Visual Studio debugger. The stack is only talking about > UpdateTraversal. > > So when you say UpdateTraversal is only for convenience, it means you can > update a position or a stateset from anywhere in your code without any > crash even in multi threaded modes ? > > Regards > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=45707#45707 > > > > > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

