Fix #116130: Mirrored custom normals broken again #116134

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:116130 into main 2023-12-13 13:52:05 +01:00
1 changed files with 1 additions and 1 deletions

View File

@ -406,7 +406,7 @@ Mesh *BKE_mesh_mirror_apply_mirror_on_axis_for_modifier(MirrorModifierData *mmd,
transpose_m4(mtx_nor);
/* calculate custom normals into loop_normals, then mirror first half into second half */
const bke::AttributeAccessor attributes = mesh->attributes();
const bke::AttributeAccessor attributes = result->attributes();
const VArraySpan sharp_edges = *attributes.lookup<bool>("sharp_edge", ATTR_DOMAIN_EDGE);
const VArraySpan sharp_faces = *attributes.lookup<bool>("sharp_face", ATTR_DOMAIN_FACE);
blender::bke::mesh::normals_calc_loop(result->vert_positions(),