Page MenuHome

Fix T74377: Weld Modifier destroys vertex groups
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Mar 2 2020, 10:33 PM.

Details

Summary

BKE_mesh_new_nomain_from_template does not add a custom data of type CD_MDEFORMVERT, so it is not copied from the original mesh to the resulting mesh.
Studying the code, I realized that by default the meshes have this customdata set not to be copied.
But the requiredDataMask callback seems to be a workaround for this.

Ref T74377

Diff Detail

Repository
rB Blender
Branch
master
Build Status
Buildable 6891
Build 6891: arc lint + arc unit

Event Timeline

This is the correct solution, we only copy required attributes for memory usage and performance reasons.

This revision is now accepted and ready to land.Mar 2 2020, 10:36 PM