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;