I have a large number of custom mesh float layers (i.e. the float layers you can store in “ob.data.layers_float”.) associated with a large mesh object.
When I call:
mesh = ob.to_mesh(scene, apply_modifiers=True, settings='PREVIEW')
I notice that all the float layers are duplicated onto the new mesh. They aren’t just linked, because if I change the data on one, the result is not updated on the other.
I’m worried that calling “to_mesh()” is becoming a bottleneck, unnecessarily duplicating a ton of really long arrays. All I actually need out of “to_mesh()” is the final vertex locations, nothing more.