Moved the scene related requiresUpdateSceneGraph() implementation details from View into Scene.
Added check against the ImagePager.
This commit is contained in:
@@ -45,7 +45,9 @@ class OSGVIEWER_EXPORT Scene : public osg::Referenced
|
||||
osgDB::ImagePager* getImagePager() { return _imagePager.get(); }
|
||||
const osgDB::ImagePager* getImagePager() const { return _imagePager.get(); }
|
||||
|
||||
void updateSceneGraph(osg::NodeVisitor& updateVisitor);
|
||||
virtual bool requiresUpdateSceneGraph() const;
|
||||
|
||||
virtual void updateSceneGraph(osg::NodeVisitor& updateVisitor);
|
||||
|
||||
|
||||
/** Get the Scene object that has the specified node assigned to it.
|
||||
|
||||
Reference in New Issue
Block a user