diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-12-05 03:08:25 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-12-05 03:08:25 +0300 |
commit | 55e3d499ae3cc6a63f4fc9c5ab55a29083a52332 (patch) | |
tree | d3f8c8080ff31915a89698b469cb68b83ad4bb8e /release | |
parent | a3bac149a151f9a856150e90782688e4c35a631f (diff) |
correction to r33469, operators return sets so string comparison isn't valid.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/op/wm.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/op/wm.py b/release/scripts/op/wm.py index dbaca5f67fb..43181ab0dce 100644 --- a/release/scripts/op/wm.py +++ b/release/scripts/op/wm.py @@ -30,11 +30,11 @@ class MESH_OT_delete_edgeloop(bpy.types.Operator): bl_label = "Delete Edge Loop" def execute(self, context): - if bpy.ops.transform.edge_slide(value=1.0) == 'FINISHED': + if 'FINISHED' in bpy.ops.transform.edge_slide(value=1.0): bpy.ops.mesh.select_more() bpy.ops.mesh.remove_doubles() - return {'FINISHED'} + return {'CANCELLED'} rna_path_prop = StringProperty(name="Context Attributes", |