Sketcher: Snap: Add 'Snap at angle' to Arc of Ellipse DSH.

This commit is contained in:
Paddle
2023-03-15 11:10:05 +01:00
committed by abdullahtahiriyo
parent 4922a48997
commit de57296576

View File

@@ -176,6 +176,7 @@ public:
if (Mode==STATUS_SEEK_First){
EditCurve[0] = onSketchPos;
centerPoint = onSketchPos;
setAngleSnapping(true, centerPoint);
Mode = STATUS_SEEK_Second;
}
else if(Mode==STATUS_SEEK_Second) {
@@ -192,6 +193,7 @@ public:
else { // Fourth
endPoint = onSketchPos;
setAngleSnapping(false);
Mode = STATUS_Close;
}
return true;