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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-12 15:37:10 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-12 15:37:10 +0300
commit234cf14fe72afd2ab3433935465a01307d2465f0 (patch)
treedf71fad6aab9c917b1977b7b8fe3ed4b0c2ea145 /object_print3d_utils/mesh_helpers.py
parent305781bd5d04e49249aaaa2f9ae52a2d75f97eb0 (diff)
Fixes for tessface removal.
Diffstat (limited to 'object_print3d_utils/mesh_helpers.py')
-rw-r--r--object_print3d_utils/mesh_helpers.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/object_print3d_utils/mesh_helpers.py b/object_print3d_utils/mesh_helpers.py
index 52d2f5c4..873f30d2 100644
--- a/object_print3d_utils/mesh_helpers.py
+++ b/object_print3d_utils/mesh_helpers.py
@@ -32,7 +32,7 @@ def bmesh_copy_from_object(obj, transform=True, triangulate=True, apply_modifier
if apply_modifiers and obj.modifiers:
import bpy
- me = obj.to_mesh(bpy.context.scene, True, 'PREVIEW', calc_loop_triangles=False)
+ me = obj.to_mesh(bpy.context.scene, True, 'PREVIEW')
bm = bmesh.new()
bm.from_mesh(me)
bpy.data.meshes.remove(me)
@@ -268,7 +268,6 @@ def object_merge(context, objects):
mesh_new = obj.to_mesh(
depsgraph=context.depsgraph,
apply_modifiers=True,
- calc_loop_triangles=False,
)
# remove non-active uvs/vcols