Hi Robert,

I was using osgViewer::ScreenCaptureHandler today and noticed that it will add the capture callback to scenegraph cameras too (i.e. HUD cameras that are in the scene graph). I think this is a mistake. I think it should only add the callback to viewer cameras (either main or slave), i.e. cameras that have a non-null view pointer.

What do you think? If you think there might be a valid use case for adding the callback to in-scenegraph cameras, perhaps we can add a parameter to the addCallbackToViewer so the app can decide whether it wants this or not. I can make the change (whatever you decide) but I just wanted to know your opinion.

Thanks in advance,

J-S
--
______________________________________________________
Jean-Sebastien Guay    [email protected]
                               http://www.cm-labs.com/
                        http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to