diff options
author | Hans Goudey <h.goudey@me.com> | 2021-09-15 22:44:56 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2021-09-15 22:44:56 +0300 |
commit | 28bd74c18650a8362bc791df602097967ff5efdf (patch) | |
tree | 0df3067af2c1bcc5fd517a889eec1e9c6c264003 /source/blender/modifiers/intern/MOD_array.c | |
parent | 8c5d9fa92919020293f2639caa77ec2f9e65ae0f (diff) |
Cleanup: Use function to mark mesh normals dirty
Diffstat (limited to 'source/blender/modifiers/intern/MOD_array.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_array.c b/source/blender/modifiers/intern/MOD_array.c index 6a9c9715994..2f0f11ab56d 100644 --- a/source/blender/modifiers/intern/MOD_array.c +++ b/source/blender/modifiers/intern/MOD_array.c @@ -786,7 +786,7 @@ static Mesh *arrayModifier_doArray(ArrayModifierData *amd, * TODO: we may need to set other dirty flags as well? */ if (use_recalc_normals) { - result->runtime.cd_dirty_vert |= CD_MASK_NORMAL; + BKE_mesh_normals_tag_dirty(result); } if (vgroup_start_cap_remap) { |