diff --git a/src/osgWrappers/osg/View.cpp b/src/osgWrappers/osg/View.cpp index 4ae436b4f..3909bfc1e 100644 --- a/src/osgWrappers/osg/View.cpp +++ b/src/osgWrappers/osg/View.cpp @@ -12,6 +12,7 @@ #include #include +#include #include #include #include @@ -113,6 +114,21 @@ BEGIN_OBJECT_REFLECTOR(osg::View) __C5_osg_Camera_P1__getCamera, "Get the const master camera of the view. ", ""); + I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, + Properties::NON_VIRTUAL, + __void__setFrameStamp__osg_FrameStamp_P1, + "Set the frame stamp of the view. ", + ""); + I_Method0(osg::FrameStamp *, getFrameStamp, + Properties::NON_VIRTUAL, + __osg_FrameStamp_P1__getFrameStamp, + "Get the frame stamp of the view. ", + ""); + I_Method0(const osg::FrameStamp *, getFrameStamp, + Properties::NON_VIRTUAL, + __C5_osg_FrameStamp_P1__getFrameStamp, + "Get the frame stamp of the view. ", + ""); I_MethodWithDefaults2(bool, addSlave, IN, osg::Camera *, camera, , IN, bool, useMastersSceneData, true, Properties::NON_VIRTUAL, __bool__addSlave__osg_Camera_P1__bool, @@ -172,6 +188,9 @@ BEGIN_OBJECT_REFLECTOR(osg::View) I_SimpleProperty(osg::Camera *, Camera, __osg_Camera_P1__getCamera, __void__setCamera__osg_Camera_P1); + I_SimpleProperty(osg::FrameStamp *, FrameStamp, + __osg_FrameStamp_P1__getFrameStamp, + __void__setFrameStamp__osg_FrameStamp_P1); I_SimpleProperty(osg::Light *, Light, __osg_Light_P1__getLight, __void__setLight__osg_Light_P1); diff --git a/src/osgWrappers/osgViewer/View.cpp b/src/osgWrappers/osgViewer/View.cpp index 8d18e03be..0b08fddfe 100644 --- a/src/osgWrappers/osgViewer/View.cpp +++ b/src/osgWrappers/osgViewer/View.cpp @@ -13,7 +13,6 @@ #include #include #include -#include #include #include #include @@ -100,21 +99,6 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View) __osg_Timer_t__getStartTick, "", ""); - I_Method1(void, setFrameStamp, IN, osg::FrameStamp *, fs, - Properties::NON_VIRTUAL, - __void__setFrameStamp__osg_FrameStamp_P1, - "", - ""); - I_Method0(osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __osg_FrameStamp_P1__getFrameStamp, - "", - ""); - I_Method0(const osg::FrameStamp *, getFrameStamp, - Properties::NON_VIRTUAL, - __C5_osg_FrameStamp_P1__getFrameStamp, - "", - ""); I_Method0(osgViewer::Scene *, getScene, Properties::NON_VIRTUAL, __Scene_P1__getScene, @@ -344,9 +328,6 @@ BEGIN_OBJECT_REFLECTOR(osgViewer::View) I_SimpleProperty(osgGA::EventQueue *, EventQueue, __osgGA_EventQueue_P1__getEventQueue, __void__setEventQueue__osgGA_EventQueue_P1); - I_SimpleProperty(osg::FrameStamp *, FrameStamp, - __osg_FrameStamp_P1__getFrameStamp, - __void__setFrameStamp__osg_FrameStamp_P1); I_SimpleProperty(osgUtil::SceneView::FusionDistanceMode, FusionDistanceMode, __osgUtil_SceneView_FusionDistanceMode__getFusionDistanceMode, 0);