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 /object_print3d_utils
parent419f290890104e47081525dcd2eb87bfa244e319 (diff)
Update for changes in the Python API using keyword only arguments
Diffstat (limited to 'object_print3d_utils')
-rw-r--r--object_print3d_utils/mesh_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/object_print3d_utils/mesh_helpers.py b/object_print3d_utils/mesh_helpers.py
index cffdf7c5..948a3bc7 100644
--- a/object_print3d_utils/mesh_helpers.py
+++ b/object_print3d_utils/mesh_helpers.py
@@ -76,7 +76,7 @@ def bmesh_to_object(obj, bm):
me = obj.data
if obj.mode == 'EDIT':
- bmesh.update_edit_mesh(me, True)
+ bmesh.update_edit_mesh(me, loop_triangles=True)
else:
bm.to_mesh(me)
me.update()