robertosfield wrote: > > The stack trace for OSG-3.2 suggests that removed View's Camera is still > assigned to the Geometry context, and you change to setGraphicsContext(0) > address this. >
OK, I guess that ;) robertosfield wrote: > > The CompositeViewer::removeView(..) should probably do the reset of the > Camera so they are no longer assigned to GraphicsContext's, however, this > would force applications to have to reassign the view's Camera to the > GraphicsContext. The other alternative would be to reset the NodeMask of the > Camera to 0x0 so it's not rendered. > I see. Well, in my code I explicitly add the graphic context to the camera of the view. That's why I tried to set it to NULL after removeView call. From my point of view your first solution is not so bad. About the second solution I'm not sure to understand. If a following addView would be enough then I think this is even better than the first one. robertosfield wrote: > > The OSG-3.1.4 crash looks likely to be a dangling pointer or an accessing an > empty array, this code no longer exists so unlikely to be an issue for > OSG-3.2 and svn/trunk. > I'm not sure to understand. The stack trace has been done building against osg-3.2.0 as you can see from the dll names. Regards Gianni ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=57612#57612 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

