Improve comment and remove uncessary return statement

This commit is contained in:
David Osterberg
2020-12-16 10:51:22 +01:00
committed by abdullahtahiriyo
parent ca1ebf2321
commit 854191eb02

View File

@@ -2288,7 +2288,7 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point)
};
// this is a helper function to remove Equal constraints from Line segments.
// Helper function to remove Equal constraints from a chosen edge (e.g Line segment).
auto delEqualConstraintsOnGeoId = [this] (int GeoId) {
std::vector<int> delete_list;
@@ -2306,7 +2306,6 @@ int SketchObject::trim(int GeoId, const Base::Vector3d& point)
index++;
}
delConstraints(delete_list);
return index-1;
};
auto creategeometryundopoint = [this, geomlist]() {