Hi osg-users,

I maybe found a bug on CompositeViewer::addView(osgViewer::View* view) in
OSG 2.5.2.

I have an application wich add and remove views on a compositeViewer
embedded in MFC windows. When I try to add a new view it crashes.

With debug information I've noticed that in addView function _threadsRunning
variable was always false, so that stopThreading is never called.

I've searched why _threadsRunning was false and I've found that in
ViewerBase::startThreading(),
_threadsRunning is never set to true because we return before at line 269 in
case we're SingleThreaded, otherwise if we're CullDrawThreadPerContext for
example we just break but we don't return. Is it normal ?

Kind Regards,
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to