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

@@ -107,7 +107,7 @@ Mesh *triangulate_mesh(Mesh *mesh,
me->flag |= ME_EDGEDRAW | ME_EDGERENDER;
}
result->runtime.cd_dirty_vert |= CD_MASK_NORMAL;
BKE_mesh_normals_tag_dirty(result);
return result;
}