From a898f2a7e13d202e494f36af0429698a3af0c132 Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Wed, 6 Jul 2016 19:45:02 +0100 Subject: [PATCH] Fixed TabPlaneDragger's handling of pressing the right mouse button whilst holding the left mouse button down, then releasing hte left mouse button. --- src/osgManipulator/TabPlaneDragger.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/osgManipulator/TabPlaneDragger.cpp b/src/osgManipulator/TabPlaneDragger.cpp index c5bbe531a..8df8cbefa 100644 --- a/src/osgManipulator/TabPlaneDragger.cpp +++ b/src/osgManipulator/TabPlaneDragger.cpp @@ -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;