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:45:31 +0300
committerMikhail Rachinskiy <mikhail.rachinskiy@gmail.com>2019-10-16 11:45:31 +0300
commit28afaaf53ae8ab40eb8559eac6bf638ba686d344 (patch)
tree88639171362ac468b193251ab4cef5304017e2f4 /object_print3d_utils
parentcbc98868ed4204784fa7813416e377683e64f332 (diff)
parent2933364ad9c69c2fe9f4d66333ef809af0ebf14f (diff)
Merge branch 'blender-v2.81-release'
Diffstat (limited to 'object_print3d_utils')
-rw-r--r--object_print3d_utils/mesh_helpers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/object_print3d_utils/mesh_helpers.py b/object_print3d_utils/mesh_helpers.py
index bb0230e5..37170e53 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()
+ mesh_new = obj_eval.to_mesh().copy()
# remove non-active uvs/vcols
cd_remove_all_but_active(mesh_new.vertex_colors)
@@ -245,6 +245,7 @@ def object_merge(context, objects):
bpy.ops.object.join(override)
+ bpy.data.meshes.remove(mesh_new)
obj_eval.to_mesh_clear()
layer.update()