Further work on add serialization support for osgViewer configurations

This commit is contained in:
Robert Osfield
2007-02-25 20:05:23 +00:00
parent 7174192444
commit f43cd7332c
10 changed files with 248 additions and 2 deletions

View File

@@ -59,6 +59,10 @@ class OSGVIEWER_EXPORT View : public osg::View, public osgGA::GUIActionAdapter
View();
View(const osgViewer::View& view, const osg::CopyOp& copyop=osg::CopyOp::SHALLOW_COPY);
META_Object(osgViewer,View);
Scene* getScene() { return _scene.get(); }
const Scene* getScene() const { return _scene.get(); }