Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2021-06-08 20:12:45 +0300
committerCampbell Barton <ideasman42@gmail.com>2021-06-08 20:12:45 +0300
commit448eeb681aa414257a75356d7e6c65e0672980d5 (patch)
tree7d2ceb38efd2527e694ea1756689f760cefab5a8 /mesh_tools/mesh_edges_floor_plan.py
parent419f290890104e47081525dcd2eb87bfa244e319 (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.py4
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