Fix: Curve trim crash on splines with no edges
This commit is contained in:
parent
4b48b1079d
commit
ff46afb4dd
|
@ -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]) {
|
||||
|
|
Loading…
Reference in New Issue