HI Cory, The Done flag is a hint to say tell threads that work should stop, so once it's stopped you want to reset things so that we you start the threads again it doesn't think that it's done again.
Robert. On Mon, Jun 15, 2009 at 9:37 PM, Cory Riddell<[email protected]> wrote: > ViewerBase::stopThreading() includes this block of code: > > for(Cameras::iterator camItr = cameras.begin(); > camItr != cameras.end(); > ++camItr) > { > osg::Camera* camera = *camItr; > Renderer* renderer = dynamic_cast<Renderer*>(camera->getRenderer()); > if (renderer) > { > renderer->setGraphicsThreadDoesCull( true ); > renderer->setDone(false); > } > } > > Since threading is being stopped, shouldn't the line in red be setting done > to true? > > Cory > > _______________________________________________ > 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

