Skip to content

Commit

Permalink
Gui: Set processed true when right mouse released and hasDragged in T…
Browse files Browse the repository at this point in the history
…inkerCAD style
  • Loading branch information
Rexbas committed Dec 27, 2023
1 parent 4df39da commit 96a60a5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Gui/TinkerCADNavigationStyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,9 @@ SbBool TinkerCADNavigationStyle::processSoEvent(const SoEvent * const ev)
this->centerTime = ev->getTime();
processed = true;
}
else if (!press && curmode == NavigationStyle::DRAGGING && hasDragged) {
processed = true;
}
else if (!press && curmode == NavigationStyle::DRAGGING && !hasDragged) {
newmode = NavigationStyle::IDLE;
if (!viewer->isEditing()) {
Expand Down

0 comments on commit 96a60a5

Please sign in to comment.