refactor common code from CompositeViewer::checkNeedToDoFrame() and Viewer::checkNeedToDoFrame() into View

This commit is contained in:
Philippe Renon
2016-06-11 16:58:51 +02:00
parent 15e9484ff2
commit 37ef07ce7e
4 changed files with 25 additions and 26 deletions

View File

@@ -305,6 +305,8 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter
virtual void requestContinuousUpdate(bool needed=true);
virtual void requestWarpPointer(float x,float y);
/** Return true if there are pending updates to the scene graph that require an update. */
bool requiresUpdateSceneGraph() const;
public: