Fixed Coverity reported issue.
CID 11835: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _startTick is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
@@ -159,6 +159,7 @@ View::View():
|
||||
View::View(const osgViewer::View& view, const osg::CopyOp& copyop):
|
||||
osg::View(view,copyop),
|
||||
osgGA::GUIActionAdapter(),
|
||||
_startTick(0),
|
||||
_fusionDistanceMode(view._fusionDistanceMode),
|
||||
_fusionDistanceValue(view._fusionDistanceValue)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user