[Sketcher] Disable constraint selectability on Shift press

This commit is contained in:
0penBrain
2022-01-26 09:19:18 +01:00
committed by abdullahtahiriyo
parent 34106f49e7
commit a360829e9b

View File

@@ -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)