1
1

Fix: Curve trim crash on splines with no edges

This commit is contained in:
2021-10-21 09:16:58 -05:00
parent 4b48b1079d
commit ff46afb4dd

View File

@@ -361,6 +361,10 @@ static void geometry_set_curve_trim(GeometrySet &geometry_set,
continue;
}
if (spline.evaluated_edges_size() == 0) {
continue;
}
/* Return a spline with one point instead of implicitly
* reversing the spline or switching the parameters. */
if (ends[i] < starts[i]) {