Fix T103011: Exact boolean skips copying edge custom data layers

When converting from imesh to mesh for the final result, custom
data should be copied from ALL operands including the main mesh.

Differential Revision: https://developer.blender.org/D16854
This commit is contained in:
Jamell Moore 2022-12-26 14:43:32 -05:00 committed by Hans Goudey
parent 7911954b40
commit a7cec5a4db
Notes: blender-bot 2023-02-14 10:54:29 +01:00
Referenced by issue #103011, Regression: Boolean modifier create uncorrect weight attribute for bevel modifier
1 changed files with 1 additions and 1 deletions

View File

@ -689,7 +689,7 @@ static void merge_vertex_loop_poly_customdata_layers(Mesh *target, MeshesToIMesh
static void merge_edge_customdata_layers(Mesh *target, MeshesToIMeshInfo &mim)
{
for (int mesh_index = 1; mesh_index < mim.meshes.size(); ++mesh_index) {
for (int mesh_index = 0; mesh_index < mim.meshes.size(); ++mesh_index) {
const Mesh *me = mim.meshes[mesh_index];
if (me->totedge) {
CustomData_merge(