Cleanup: Use function to mark mesh normals dirty

This commit is contained in:
2021-09-15 14:44:56 -05:00
parent 8c5d9fa929
commit 28bd74c186
30 changed files with 34 additions and 39 deletions

View File

@@ -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) {