Sketcher: fix horizontal distance constraint on external edge

=============================================================

Fixes:
https://forum.freecadweb.org/viewtopic.php?f=3&t=54348#p467107
This commit is contained in:
Abdullah Tahiri
2021-01-15 14:38:48 +01:00
parent 919196fb9a
commit a56a22de56

View File

@@ -2977,7 +2977,7 @@ void CmdSketcherConstrainDistanceX::applyConstraint(std::vector<SelIdPair> &selS
break;
}
case 2: // {SelEdge}
case 4: // {SelExternalEdge}
case 3: // {SelExternalEdge}
{
GeoId1 = GeoId2 = selSeq.at(0).GeoId;
PosId1 = Sketcher::start; PosId2 = Sketcher::end;