Page MenuHome

Increased data.users value, when running: C.active_object.to_mesh(C.depsgraph, True) - on curve
Closed, ResolvedPublic

Description

System: Win 64
Blender: 2.8 - latest daily build (10 January)

Short description of error
Run:

C.active_object.to_mesh(C.depsgraph, True)

on curve object. curve.data.users property will be increased by one incorrectly, even though generated mesh type of data should not affect selected curve data count.
Object.to_mesh() works ok with mesh objects ('users' count property is not increased)

Simple blend file with curve and command: C.active_object.to_mesh(C.depsgraph, True). Mesh is generated ok, but curve.data.count is bigger:

After restart the user count it back to correct value of 1.

Event Timeline

Jose Conseco (joseconseco) renamed this task from Duplicated data users when running: C.active_object.to_mesh(C.depsgraph, True) - on curve (blender 2.8) to Increased data.users value, when running: C.active_object.to_mesh(C.depsgraph, True) - on curve.Jan 10 2019, 7:43 PM