Fixed TabPlaneDragger's handling of pressing the right mouse button whilst holding the left mouse button down, then releasing hte left mouse button.
This commit is contained in:
parent
74f1cc1ec4
commit
a898f2a7e1
@ -218,8 +218,6 @@ TabPlaneDragger::~TabPlaneDragger()
|
||||
|
||||
bool TabPlaneDragger::handle(const PointerInfo& pointer, const osgGA::GUIEventAdapter& ea, osgGA::GUIActionAdapter& aa)
|
||||
{
|
||||
if (ea.getButtonMask() & osgGA::GUIEventAdapter::RIGHT_MOUSE_BUTTON) return false;
|
||||
|
||||
// Check if the dragger node is in the nodepath.
|
||||
if (!pointer.contains(this)) return false;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user