Fix #116130: Mirrored custom normals broken again
Caused by c53e220aef
Above commit was working on the `mesh` (not the `result`) -- basically a
typo...
Pull Request: https://projects.blender.org/blender/blender/pulls/116134
This commit is contained in:
parent
5519a48702
commit
65274dc096
|
@ -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(),
|
||||
|
|
Loading…
Reference in New Issue