Show
Ignore:
Timestamp:
04/08/03 17:18:45 (11 years ago)
Author:
robert
Message:

Changed the Viewer::realize() calls across to not using the threading paramter
leaving it up to the Viewer to specify the mode (which by default is MultiThreaded?).
Added a check for the presence of osgParticle systems so that threading is
disabled in this case.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgparticle/osgparticle.cpp

    r1815 r1832  
    386386         
    387387    // create the windows and run the threads. 
    388     //    viewer.realize(Producer::CameraGroup::ThreadPerCamera); 
     388    //    viewer.realize(); 
    389389    // run single threaded since osgParticle still writes during cull. 
    390390    viewer.realize(Producer::CameraGroup::SingleThreaded);