Various fixes to constructors to ensure that all variables are initialized.

This commit is contained in:
Robert Osfield
2002-07-20 23:54:55 +00:00
parent 0ff08a2978
commit 48b3be40e9
16 changed files with 74 additions and 41 deletions

View File

@@ -117,7 +117,8 @@ Viewer::Viewer()
_initialTick = _timer.tick();
_frameTick = _initialTick;
frRate=0; // added by gwm to display fram Rate smoothed
_lastFrameTick = _initialTick;
frRate=0;
_focusedViewport = 0; // The viewport with mouse/keyboard focus
@@ -125,6 +126,19 @@ Viewer::Viewer()
_frameStamp = osgNew osg::FrameStamp;
_displaySettings = osgNew osg::DisplaySettings;
}