Revert "3D-Print: fix error using evaluated mesh as obj data"
This reverts commit 16b4498b68
.
First need to push to 2.81 release branch and then merge to master.
This commit is contained in:
parent
596c0781f5
commit
cbc98868ed
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue