Force SingelThreaded usage due to use of osgParticle.

This commit is contained in:
Robert Osfield
2006-07-25 20:43:57 +00:00
parent d728d8335e
commit 9b0b98200f

View File

@@ -1456,8 +1456,9 @@ int main( int argc, char **argv )
viewer.setRealizeCallback(new CompileStateCallback(seh));
// create the windows and run the threads.
viewer.realize();
// create the windows and run the threads, note has to be single threaded
// due to use osgParticle
viewer.realize(Producer::CameraGroup::SingleThreaded);
viewer.requestWarpPointer(0.5f,0.5f);