[osg-users] CompositeViewer:: checkNeedToDoFrame() always returns true after adding an UpdateCallback

Robert Osfield robert.osfield at gmail.com
Mon Sep 25 02:04:12 PDT 2017


Hi Lincoln,

If you know that your updates don't always need calling you customize the
behaviour of the viewer by subclassing from CompositeViewerViewer and
override the run() or  checkNeedToDoFrame() method and let this code decide
when a new frame is required.

Robert.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20170925/8ed36997/attachment.htm>


More information about the osg-users mailing list