[Sketcher] Disable constraint selectability on Shift press
This commit is contained in:
committed by
abdullahtahiriyo
parent
34106f49e7
commit
a360829e9b
@@ -467,6 +467,11 @@ bool ViewProviderSketch::keyPressed(bool pressed, int key)
|
||||
}
|
||||
return false;
|
||||
}
|
||||
case SoKeyboardEvent::LEFT_SHIFT:
|
||||
if (Mode < STATUS_SKETCH_UseHandler) {
|
||||
editCoinManager->setConstraintSelectability(!pressed);
|
||||
return true;
|
||||
}
|
||||
default:
|
||||
{
|
||||
if (isInEditMode() && sketchHandler)
|
||||
|
||||
Reference in New Issue
Block a user