diff options
Diffstat (limited to 'source/blender/editors/curve/editcurve.c')
-rw-r--r-- | source/blender/editors/curve/editcurve.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/curve/editcurve.c b/source/blender/editors/curve/editcurve.c index a4c071d88a7..936a40b83b6 100644 --- a/source/blender/editors/curve/editcurve.c +++ b/source/blender/editors/curve/editcurve.c @@ -4901,6 +4901,10 @@ static bool ed_editcurve_extrude(Curve *cu, EditNurb *editnurb) void *p; } cu_actvert; + if (BLI_listbase_is_empty(&editnurb->nurbs)) { + return changed; + } + BKE_curve_nurb_vert_active_get(cu, &cu_actnu, &cu_actvert.p); BKE_curve_nurb_vert_active_set(cu, NULL, NULL); |