[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4763] trunk/py/scripts/addons/ mesh_bsurfaces.py: update for changes in blender.

Campbell Barton ideasman42 at gmail.com
Wed Sep 18 14:42:11 CEST 2013


Revision: 4763
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4763
Author:   campbellbarton
Date:     2013-09-18 12:42:10 +0000 (Wed, 18 Sep 2013)
Log Message:
-----------
update for changes in blender.

Modified Paths:
--------------
    trunk/py/scripts/addons/mesh_bsurfaces.py

Modified: trunk/py/scripts/addons/mesh_bsurfaces.py
===================================================================
--- trunk/py/scripts/addons/mesh_bsurfaces.py	2013-09-18 10:35:36 UTC (rev 4762)
+++ trunk/py/scripts/addons/mesh_bsurfaces.py	2013-09-18 12:42:10 UTC (rev 4763)
@@ -1240,7 +1240,7 @@
             
             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 @@
                 
                 # 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 @@
                     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')
             
             



More information about the Bf-extensions-cvs mailing list