diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-09-15 05:46:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-09-15 05:46:25 +0400 |
commit | 506db730329a1e78c78391cc973a35265df6b169 (patch) | |
tree | 1a36d166ea0b6a9545ee82993226679f657748de /source/tests | |
parent | 809cb5e478a881b62896fbb0050efded9b6939b6 (diff) |
- update bl_run_operators.py for change in blender.
- rename curve delete operator vertices enum to match mesh delete operator.
- add missing NULL checks to view3d_lock_poll() to prevent crashes when called outside a view3d.
Diffstat (limited to 'source/tests')
-rw-r--r-- | source/tests/bl_run_operators.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/tests/bl_run_operators.py b/source/tests/bl_run_operators.py index effc06cd15f..ad8a6919c91 100644 --- a/source/tests/bl_run_operators.py +++ b/source/tests/bl_run_operators.py @@ -342,7 +342,8 @@ def ctx_editmode_curves(): def ctx_editmode_curves_empty(): bpy.ops.curve.primitive_nurbs_circle_add() bpy.ops.object.mode_set(mode='EDIT') - bpy.ops.curve.delete(type='ALL') + bpy.ops.curve.select_all(action='SELECT') + bpy.ops.curve.delete(type='VERT') def ctx_editmode_surface(): |