[osg-users] Removing objects with shared GL state from scene graph

Martin Siggel martinsiggel+osg at gmail.com
Fri Jul 26 03:12:13 PDT 2019

Yes, it's the standard manipulator. I am not sure though, if it keeps a
direct reference or an indirect reference (via other nodes) to the camera.

Still I noticed, if I keep a reference to the camera manipulator my viewer
is not cleaned up correctly.

Robert Osfield <robert.osfield at gmail.com> schrieb am Fr., 26. Juli 2019,

> Hi Martin,
> On Fri, 26 Jul 2019 at 09:45, Martin Siggel <martinsiggel+osg at gmail.com>
> wrote:
>> I observed, that also CameraManipulators keep a reference to the camera.
>> This prohibits then the release of the gl objects.
> Which CameraManipulator do you think keeps a reference to the Camera?
> I've just checked and can't find any.
> The StandardManipulator currently has a ref_ptr< osg::Node > , could this
> be what you are thinking of?
> Robert.
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190726/c50ea75b/attachment.html>

More information about the osg-users mailing list