From e7dbe221c1c76f53ab0e08098f6f0275a15010e4 Mon Sep 17 00:00:00 2001 From: Rexbas Date: Wed, 27 Dec 2023 15:29:57 +0100 Subject: [PATCH] Gui: Set processed true when right mouse released and hasPanned in OpenSCAD style --- src/Gui/OpenSCADNavigationStyle.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Gui/OpenSCADNavigationStyle.cpp b/src/Gui/OpenSCADNavigationStyle.cpp index e03c9f8e3f..e5e388aab8 100644 --- a/src/Gui/OpenSCADNavigationStyle.cpp +++ b/src/Gui/OpenSCADNavigationStyle.cpp @@ -166,6 +166,9 @@ SbBool OpenSCADNavigationStyle::processSoEvent(const SoEvent * const ev) newmode = NavigationStyle::IDLE; processed = true; } + else if (!press && curmode == NavigationStyle::PANNING && hasPanned) { + processed = true; + } break; case SoMouseButtonEvent::BUTTON3: this->button3down = press;