Merge branch 'blender-v2.81-release'

This commit is contained in:
Mikhail Rachinskiy 2019-10-16 12:45:31 +04:00
commit 28afaaf53a
1 changed files with 2 additions and 1 deletions

View File

@ -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()