diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-08 20:12:45 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-08 20:12:45 +0300 |
commit | 448eeb681aa414257a75356d7e6c65e0672980d5 (patch) | |
tree | 7d2ceb38efd2527e694ea1756689f760cefab5a8 /mesh_tools/mesh_edges_floor_plan.py | |
parent | 419f290890104e47081525dcd2eb87bfa244e319 (diff) |
Update for changes in the Python API using keyword only arguments
Diffstat (limited to 'mesh_tools/mesh_edges_floor_plan.py')
-rw-r--r-- | mesh_tools/mesh_edges_floor_plan.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_tools/mesh_edges_floor_plan.py b/mesh_tools/mesh_edges_floor_plan.py index 6a303ffb..a654a4c3 100644 --- a/mesh_tools/mesh_edges_floor_plan.py +++ b/mesh_tools/mesh_edges_floor_plan.py @@ -283,7 +283,7 @@ class MESH_OT_edges_floor_plan(Operator): if edge.is_boundary: edge.select = True - bm = bmesh.update_edit_mesh(ob.data, 1, 1) + bm = bmesh.update_edit_mesh(ob.data, loop_triangles=True, destructive=True) bpy.ops.object.mode_set(mode='OBJECT') self.solidify_mod(context, ob, wid, offset, self.only_rim) @@ -366,7 +366,7 @@ class MESH_OT_edges_floor_plan(Operator): if edge.is_boundary: edge.select = True - bm = bmesh.update_edit_mesh(ob.data, 1, 1) + bm = bmesh.update_edit_mesh(ob.data, loop_triangles=True, destructive=True) context.tool_settings.mesh_select_mode = store_selection_mode |