diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-18 16:42:10 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-18 16:42:10 +0400 |
commit | 84ba0e106a4e388e64ce20a620cffe4ad411acae (patch) | |
tree | 8d8ebad6465ba5cc0296e94b53f9984ae97af249 /mesh_bsurfaces.py | |
parent | 407fc6e85452d778f87301eca0f9187f419b492a (diff) |
update for changes in blender.
Diffstat (limited to 'mesh_bsurfaces.py')
-rw-r--r-- | mesh_bsurfaces.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mesh_bsurfaces.py b/mesh_bsurfaces.py index 1aefeb3e..64943dfe 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') |