diff --git a/src/Mod/Sketcher/App/SketchObject.cpp b/src/Mod/Sketcher/App/SketchObject.cpp index 8b391210c2..7c5dccc8f3 100644 --- a/src/Mod/Sketcher/App/SketchObject.cpp +++ b/src/Mod/Sketcher/App/SketchObject.cpp @@ -3841,9 +3841,6 @@ int SketchObject::split(int GeoId, const Base::Vector3d& point) deriveConstraintsForPieces(GeoId, newIds, con, newConstraints); } - // `if (noRecomputes)` results in a failed test (`testPD_TNPSketchPadSketchSplit(self)`) - // TODO: figure out why, and if that check must be used - solve(); // This also seems to reset SketchObject::Geometry. // TODO: figure out why, and if that check must be used geoAsCurve = getGeometry(GeoId); @@ -3878,7 +3875,7 @@ int SketchObject::split(int GeoId, const Base::Vector3d& point) transferConstraints(GeoId, PointPos::mid, newIds.front(), PointPos::mid); } - delConstraints(std::move(idsOfOldConstraints)); + delConstraints(std::move(idsOfOldConstraints), DeleteOption::NoSolve); replaceGeometries({GeoId}, newGeos); addConstraints(newConstraints);