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:
authorMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2019-10-16 11:32:27 +0300
committerMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2019-10-16 11:32:27 +0300
commitcbc98868ed4204784fa7813416e377683e64f332 (patch)
tree6984458371bd38325314b49dd158670b7ba8f915 /object_print3d_utils
parent596c0781f592c8a19a1b792a5caca866a48f9ba6 (diff)
Revert "3D-Print: fix error using evaluated mesh as obj data"
This reverts commit 16b4498b6899ec23923235288218fea0dcb2ea15. First need to push to 2.81 release branch and then merge to master.
Diffstat (limited to 'object_print3d_utils')
-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 37170e53..bb0230e5 100644
--- a/object_print3d_utils/mesh_helpers.py
+++ b/object_print3d_utils/mesh_helpers.py
@@ -228,7 +228,7 @@ def object_merge(context, objects):
# convert each to a mesh
obj_eval = obj.evaluated_get(depsgraph)
- mesh_new = obj_eval.to_mesh().copy()
+ mesh_new = obj_eval.to_mesh()
# remove non-active uvs/vcols
cd_remove_all_but_active(mesh_new.vertex_colors)
@@ -245,7 +245,6 @@ def object_merge(context, objects):
bpy.ops.object.join(override)
- bpy.data.meshes.remove(mesh_new)
obj_eval.to_mesh_clear()
layer.update()