Fixed Coverity reported issue.
CID 11836: Uninitialized scalar field (UNINIT_CTOR) Non-static class member _fullscreen is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
parent
456d351a33
commit
d054427f90
@ -524,7 +524,7 @@ protected:
|
||||
InteractiveImageHandler() {}
|
||||
|
||||
InteractiveImageHandler(const InteractiveImageHandler&,const osg::CopyOp& = osg::CopyOp::SHALLOW_COPY):
|
||||
osg::Object(), osgGA::GUIEventHandler(), osg::Drawable::CullCallback() {}
|
||||
osg::Object(), osgGA::GUIEventHandler(), osg::Drawable::CullCallback(), _fullscreen(false) {}
|
||||
|
||||
bool mousePosition(osgViewer::View* view, osg::NodeVisitor* nv, const osgGA::GUIEventAdapter& ea, int& x, int &y) const;
|
||||
bool computeIntersections(osgViewer::View* view, float x,float y, const osg::NodePath& nodePath, osgUtil::LineSegmentIntersector::Intersections& intersections,osg::Node::NodeMask traversalMask = 0xffffffff) const;
|
||||
|
Loading…
Reference in New Issue
Block a user