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 4546f6aadd
commit a101037e2c

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,