Hi Oliver,

viewer.stopThreading() stops threading and viewer.startTheading() restarts it.

Robert.

On Wed, Oct 6, 2010 at 6:19 PM, Oliver Burtchen <[email protected]> wrote:
> Hi,
>
> to debug my application I need to stop threading in update/cull traversals,
> better threading in osg at all. Is the following code enough, or do I need
> more?
>
>
> viewer.setThreadingModel(osgViewer::ViewerBase::SingleThreaded);
>
> while( !viewer.done() )
> {
>  ...
>  viewer.frame();
>  ...
> }
>
>
> Best regards,
> Oli
>
>
> --
> Oliver Burtchen, Berlin
> _______________________________________________
> 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

Reply via email to