Hi Robert

Experiencing around OSG, I found out that the update callback gets called 
continously even when the Viewer's FrameScheme is ON_DEMAND.

In case that this behaviour is not the expected one, I propose here a (very) 
simple fix that tests _runFrameScheme in Viewer::checkNeedToDoFrame() (and same 
for CompositeViewer)

If relevant, I'm using a single threaded OSG scene within a Qt5 application.
I can't tell if this would break existing code.
Please let me know what you think !

Cheers,
Rémi
                                          

Attachment: ON_DEMAND_update_callback.diff
Description: Binary data

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to