Fix autoconstraints of arcslot tool.

This commit is contained in:
Paddle
2023-11-17 10:00:47 +01:00
committed by Adrián Insaurralde Avalos
parent 283c4d7ef5
commit ea5abfda0d

View File

@@ -204,9 +204,11 @@ private:
if (constructionMethod() == ConstructionMethod::ArcSlot) {
generateAutoConstraintsOnElement(ac2,
getHighestCurveIndex() - 2,
Sketcher::PointPos::mid);
generateAutoConstraintsOnElement(ac3,
getHighestCurveIndex() - 1,
Sketcher::PointPos::mid);
generateAutoConstraintsOnElement(ac3, getHighestCurveIndex(), Sketcher::PointPos::mid);
}
else {
generateAutoConstraintsOnElement(ac2,