From 688390113d1a0353361a4d79699e8b53b48936a8 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Fri, 24 Jun 2016 12:00:54 +0100 Subject: [PATCH] Added initializers --- src/osgGA/SphericalManipulator.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/osgGA/SphericalManipulator.cpp b/src/osgGA/SphericalManipulator.cpp index 55c67208a..e7ada201a 100644 --- a/src/osgGA/SphericalManipulator.cpp +++ b/src/osgGA/SphericalManipulator.cpp @@ -22,6 +22,9 @@ SphericalManipulator::SphericalManipulator() _heading=0.0; _elevation=osg::PI_2; + _delta_frame_time = 0.0; + _last_frame_time = 0.0; + _rotationMode = ELEVATION_HEADING; } //--------------------------------------------------------------------------------------------------