diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-01-06 08:45:41 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-01-06 08:45:41 +0300 |
commit | 3ecacb56544a26738c9581ac8c082c0101d64ba4 (patch) | |
tree | af638aeef78bd4a4ae5ea113061d20a807962150 /release/scripts/op | |
parent | 80e6d92639f0931f1dd2c073206959b4af32d510 (diff) |
fix [#25507] Select Interior faces in edit mode gives python error
Diffstat (limited to 'release/scripts/op')
-rw-r--r-- | release/scripts/op/mesh.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/op/mesh.py b/release/scripts/op/mesh.py index c2af9ba4da7..447de04f423 100644 --- a/release/scripts/op/mesh.py +++ b/release/scripts/op/mesh.py @@ -35,14 +35,14 @@ class MeshSelectInteriorFaces(bpy.types.Operator): def execute(self, context): ob = context.active_object - bpy.ops.mesh.selection_type(type='FACE') + context.tool_settings.mesh_select_mode = False, False, True is_editmode = (ob.mode == 'EDIT') if is_editmode: bpy.ops.object.mode_set(mode='OBJECT', toggle=False) mesh = ob.data - face_list = [face for face in mesh.faces] + face_list = mesh.faces[:] face_edge_keys = [face.edge_keys for face in face_list] edge_face_count = mesh.edge_face_count_dict |