Gui: Prohibit dragging using LMB in sketch mode for OpenSCAD style
This commit is contained in:
@@ -193,7 +193,7 @@ SbBool OpenSCADNavigationStyle::processSoEvent(const SoEvent * const ev)
|
||||
if (type.isDerivedFrom(SoLocation2Event::getClassTypeId())) {
|
||||
this->lockrecenter = true;
|
||||
const auto event = (const SoLocation2Event *) ev;
|
||||
if (curmode == NavigationStyle::SELECTION) {
|
||||
if (!viewer->isEditing() && curmode == NavigationStyle::SELECTION) {
|
||||
newmode = NavigationStyle::DRAGGING;
|
||||
saveCursorPosition(ev);
|
||||
this->centerTime = ev->getTime();
|
||||
|
||||
Reference in New Issue
Block a user