> OSG can do the cull traversal in a separate thread from the draw, so it
> might be drawing the beam while you are modifying the points array. If
> switching to SingleThreaded mode prevents the crash,


Making the viewer single threaded worked!


Code:
viewer.setThreadingModel(osgViewer::Viewer::SingleThreaded); 



Thanks a lot!
 :)

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=49091#49091





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to