split requiresUpdateSceneGraph() into requires update and requires redraw (wip)
This commit is contained in:
@@ -244,6 +244,9 @@ class OSGDB_EXPORT DatabasePager : public osg::NodeVisitor::DatabaseRequestHandl
|
||||
* Note, must only be called from single thread update phase. */
|
||||
virtual void updateSceneGraph(const osg::FrameStamp& frameStamp);
|
||||
|
||||
/** Return true if there are ... . */
|
||||
bool requiresRedraw() const;
|
||||
|
||||
/** Report how many items are in the _fileRequestList queue */
|
||||
unsigned int getFileRequestListSize() const { return static_cast<unsigned int>(_fileRequestQueue->size() + _httpRequestQueue->size()); }
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ class OSGVIEWER_EXPORT Scene : public osg::Referenced
|
||||
|
||||
virtual void updateSceneGraph(osg::NodeVisitor& updateVisitor);
|
||||
|
||||
virtual bool requiresRedraw() const;
|
||||
|
||||
/** Get the Scene object that has the specified node assigned to it.
|
||||
* return 0 if no Scene has yet been assigned the specified node.*/
|
||||
|
||||
Reference in New Issue
Block a user