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/osgcluster/osgcluster.cpp

    r1815 r1832  
    5454        { 
    5555         
    56             matrix = _matrix * osg::Matrix::rotate(angle_offset,0.0f,1.0f,1.0f); 
     56            matrix = _matrix * osg::Matrix::rotate(angle_offset,0.0f,1.0f,0.0f); 
    5757        } 
    5858         
     
    165165 
    166166    // create the windows and run the threads. 
    167     viewer.realize(Producer::CameraGroup::ThreadPerCamera); 
     167    viewer.realize(); 
    168168 
    169169    // objects for managing the broadcasting and recieving of camera packets.