From bfc036daa48c268e67eaf2a93575d3668ccb05f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20=C3=96sterberg?= Date: Tue, 15 Dec 2020 16:55:25 +0100 Subject: [PATCH] Update src/Mod/Sketcher/App/SketchObject.cpp Co-authored-by: Chris Hennes --- src/Mod/Sketcher/App/SketchObject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 8c4c034127..d3783c22d0 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -2330,7 +2330,7 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point) std::swap(x1,x2); } if (x1 >= 0.001*length && x2 <= 0.999*length) { - if (x1 < x0 && x2 > x0) { // trim a way a sement in the middle + if (x1 < x0 && x2 > x0) { // trim away a segment in the middle int newGeoId = addGeometry(geo); // go through all constraints and replace the point (GeoId,end) with (newGeoId,end) transferConstraints(GeoId, end, newGeoId, end);