Fix #117520: Data Transfer modifier not working with Vertex Groups #117538

Merged
Philipp Oeser merged 2 commits from lichtwerk/blender:117520 into main 2024-01-26 16:45:09 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -1060,7 +1060,7 @@ static bool data_transfer_layersmapping_generate(ListBase *r_map,
dst_data = static_cast<float3 *>(CustomData_add_layer(
&me_dst->corner_data, CD_NORMAL, CD_SET_DEFAULT, me_dst->corners_num));
}
if (mix_factor != 1.0f) {
if (mix_factor != 1.0f || mix_weights) {
lichtwerk marked this conversation as resolved Outdated

The parentheses are unnecessary.

The parentheses are unnecessary.
MutableSpan(dst_data, me_dst->corners_num).copy_from(me_dst->corner_normals());
}
/* Post-process will convert it back to CD_CUSTOMLOOPNORMAL. */