diff --git a/src/Gui/BlenderNavigationStyle.cpp b/src/Gui/BlenderNavigationStyle.cpp index 269dbfdb49..cb6775ccf8 100644 --- a/src/Gui/BlenderNavigationStyle.cpp +++ b/src/Gui/BlenderNavigationStyle.cpp @@ -256,10 +256,13 @@ SbBool BlenderNavigationStyle::processSoEvent(const SoEvent * const ev) case BUTTON1DOWN: case CTRLDOWN|BUTTON1DOWN: // make sure not to change the selection when stopping spinning - if (curmode == NavigationStyle::SPINNING || this->lockButton1 && curmode != NavigationStyle::SELECTION) + if (curmode == NavigationStyle::SPINNING + || (this->lockButton1 && curmode != NavigationStyle::SELECTION)) { newmode = NavigationStyle::IDLE; - else + } + else { newmode = NavigationStyle::SELECTION; + } break; case BUTTON1DOWN|BUTTON2DOWN: newmode = NavigationStyle::PANNING;