From a56a22de565755273c9d65d2ff17fd4f7d9912fd Mon Sep 17 00:00:00 2001 From: Abdullah Tahiri Date: Fri, 15 Jan 2021 14:38:48 +0100 Subject: [PATCH] Sketcher: fix horizontal distance constraint on external edge ============================================================= Fixes: https://forum.freecadweb.org/viewtopic.php?f=3&t=54348#p467107 --- src/Mod/Sketcher/Gui/CommandConstraints.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/Gui/CommandConstraints.cpp b/src/Mod/Sketcher/Gui/CommandConstraints.cpp index d93ecb8b56..d63db8a157 100644 --- a/src/Mod/Sketcher/Gui/CommandConstraints.cpp +++ b/src/Mod/Sketcher/Gui/CommandConstraints.cpp @@ -2977,7 +2977,7 @@ void CmdSketcherConstrainDistanceX::applyConstraint(std::vector &selS break; } case 2: // {SelEdge} - case 4: // {SelExternalEdge} + case 3: // {SelExternalEdge} { GeoId1 = GeoId2 = selSeq.at(0).GeoId; PosId1 = Sketcher::start; PosId2 = Sketcher::end;