Added missing initializers

This commit is contained in:
Robert Osfield
2016-06-22 11:39:11 +01:00
parent 471e556e91
commit 8a83bd73bb
3 changed files with 36 additions and 1 deletions

View File

@@ -94,6 +94,7 @@ class OSGPRESENTATION_EXPORT AnimationMaterialCallback : public osg::NodeCallbac
public:
AnimationMaterialCallback():
_useInverseMatrix(false),
_timeOffset(0.0),
_timeMultiplier(1.0),
_firstTime(DBL_MAX),

View File

@@ -330,6 +330,8 @@ public:
SlideEventHandler(osgViewer::Viewer* viewer=0);
SlideEventHandler(const SlideEventHandler& seh,const osg::CopyOp& copyop);
static SlideEventHandler* instance();
META_Object(osgPresentation,SlideEventHandler);
@@ -411,7 +413,6 @@ public:
protected:
~SlideEventHandler() {}
SlideEventHandler(const SlideEventHandler&,const osg::CopyOp&) {}
bool home(const osgGA::GUIEventAdapter& ea,osgGA::GUIActionAdapter& aa);