From b21cb8abb95d6ff37effded650672ffb1f5f579b Mon Sep 17 00:00:00 2001 From: 0penBrain <48731257+0penBrain@users.noreply.github.com> Date: Wed, 15 Apr 2020 15:14:19 +0200 Subject: [PATCH] [Sketcher] Harmonize points selection order for symmetry constraint ; fixes #3746 --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index aad1f9be5e..120e78860f 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -6803,8 +6803,8 @@ void CmdSketcherConstrainSymmetric::applyConstraint(std::vector &selS case 8: // {SelVertex, SelVertex, SelVertexOrRoot} case 9: // {SelVertexOrRoot, SelVertex, SelVertex} { - GeoId1 = selSeq.at(0).GeoId; GeoId2 = selSeq.at(2).GeoId; GeoId3 = selSeq.at(1).GeoId; - PosId1 = selSeq.at(0).PosId; PosId2 = selSeq.at(2).PosId; PosId3 = selSeq.at(1).PosId; + GeoId1 = selSeq.at(0).GeoId; GeoId2 = selSeq.at(1).GeoId; GeoId3 = selSeq.at(2).GeoId; + PosId1 = selSeq.at(0).PosId; PosId2 = selSeq.at(1).PosId; PosId3 = selSeq.at(2).PosId; if ( areAllPointsOrSegmentsFixed(Obj, GeoId1, GeoId2, GeoId3) ) { showNoConstraintBetweenFixedGeometry();