From 84ba0e106a4e388e64ce20a620cffe4ad411acae Mon Sep 17 00:00:00 2001 From: Campbell Barton <ideasman42@gmail.com> Date: Wed, 18 Sep 2013 12:42:10 +0000 Subject: [PATCH] update for changes in blender. --- mesh_bsurfaces.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index 1aefeb3ea..64943dfe5 100644 --- a/mesh_bsurfaces.py +++ b/mesh_bsurfaces.py @@ -1240,7 +1240,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): bpy.ops.curve.select_all(action = 'INVERT') - bpy.ops.curve.delete(type='SELECTED') + bpy.ops.curve.delete(type='VERT') bpy.ops.object.editmode_toggle('INVOKE_REGION_WIN') @@ -2327,7 +2327,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): # Delete the other vertices and make it non-cyclic to keep only the needed verts of the "closing segment". bpy.ops.curve.select_all(action = 'INVERT') - bpy.ops.curve.delete(type='SELECTED') + bpy.ops.curve.delete(type='VERT') ob_simplified_curve[i].data.splines[0].use_cyclic_u = False bpy.ops.object.editmode_toggle('INVOKE_REGION_WIN') @@ -3039,7 +3039,7 @@ class GPENCIL_OT_SURFSK_add_surface(bpy.types.Operator): sp.bezier_points[0].select_control_point = True bpy.ops.object.editmode_toggle('INVOKE_REGION_WIN') - bpy.ops.curve.delete(type='SELECTED') + bpy.ops.curve.delete(type='VERT') bpy.ops.object.editmode_toggle('INVOKE_REGION_WIN') -- GitLab