Sketcher: Split - remove unnecessary return after exception

This commit is contained in:
Abdullah Tahiri
2022-12-20 19:27:58 +01:00
committed by abdullahtahiriyo
parent 38212da989
commit fdb2e1ad01

View File

@@ -3028,7 +3028,6 @@ int SketchObject::split(int GeoId, const Base::Vector3d &point)
if (endParam - splitParam < Precision::PConfusion() ||
splitParam - startParam < Precision::PConfusion()) {
THROWM(ValueError, "Split point is at one of the end points of the curve.");
return false;
}
if (endParam - splitParam > splitParam - startParam) {
longestPart = 1;