Gui: Prevent rubber-band selection when selection button is pressed after other buttons are pressed
This commit is contained in:
@@ -233,6 +233,11 @@ SbBool TinkerCADNavigationStyle::processSoEvent(const SoEvent * const ev)
|
||||
break;
|
||||
}
|
||||
|
||||
// Process when selection button is pressed together with other buttons that could trigger different actions.
|
||||
if (this->button1down && (this->button2down || this->button3down)) {
|
||||
processed = true;
|
||||
}
|
||||
|
||||
if (newmode != curmode) {
|
||||
this->setViewingMode(newmode);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user