Added initializer

This commit is contained in:
Robert Osfield 2016-06-24 12:28:36 +01:00
parent cda61d92b7
commit c05b7cffbb

View File

@ -171,6 +171,7 @@ Dragger::Dragger() :
_activationPermittedByModKeyMask(false), _activationPermittedByModKeyMask(false),
_activationPermittedByMouseButtonMask(false), _activationPermittedByMouseButtonMask(false),
_activationPermittedByKeyEvent(false), _activationPermittedByKeyEvent(false),
_parentDragger(0),
_intersectionMask(0xffffffff) _intersectionMask(0xffffffff)
{ {
_parentDragger = this; _parentDragger = this;
@ -190,6 +191,7 @@ Dragger::Dragger(const Dragger& rhs, const osg::CopyOp& copyop):
_activationPermittedByModKeyMask(false), _activationPermittedByModKeyMask(false),
_activationPermittedByMouseButtonMask(false), _activationPermittedByMouseButtonMask(false),
_activationPermittedByKeyEvent(false), _activationPermittedByKeyEvent(false),
_parentDragger(0),
_intersectionMask(0xffffffff) _intersectionMask(0xffffffff)
{ {
} }