diff --git a/examples/osgcatch/osgcatch.cpp b/examples/osgcatch/osgcatch.cpp index e91c041ea..df51ef1dd 100644 --- a/examples/osgcatch/osgcatch.cpp +++ b/examples/osgcatch/osgcatch.cpp @@ -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);