Sketcher: Split - remove unnecessary return after exception
This commit is contained in:
committed by
abdullahtahiriyo
parent
38212da989
commit
fdb2e1ad01
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user