diff options
author | Hans Goudey <h.goudey@me.com> | 2022-04-26 00:30:06 +0300 |
---|---|---|
committer | Hans Goudey <h.goudey@me.com> | 2022-04-26 00:30:06 +0300 |
commit | 3b4b2bcb1326fdd15011aade65d55079abd89f38 (patch) | |
tree | cd1aa775ef9fd81fab0a937017690ad6882bd439 | |
parent | c20b99b70c84f089277fa1615efea733b338cdd0 (diff) |
Cleanup: Remove redundant vertex normal dirty tags
Applying the coordinates already tags the normals dirty
-rw-r--r-- | source/blender/modifiers/intern/MOD_collision.c | 1 | ||||
-rw-r--r-- | source/blender/modifiers/intern/MOD_surface.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/modifiers/intern/MOD_collision.c b/source/blender/modifiers/intern/MOD_collision.c index 593610f5bad..f9cd3d5937d 100644 --- a/source/blender/modifiers/intern/MOD_collision.c +++ b/source/blender/modifiers/intern/MOD_collision.c @@ -120,7 +120,6 @@ static void deformVerts(ModifierData *md, uint mvert_num = 0; BKE_mesh_vert_coords_apply(mesh_src, vertexCos); - BKE_mesh_normals_tag_dirty(mesh_src); current_time = DEG_get_ctime(ctx->depsgraph); diff --git a/source/blender/modifiers/intern/MOD_surface.c b/source/blender/modifiers/intern/MOD_surface.c index c2869e590bd..af1de77d8c9 100644 --- a/source/blender/modifiers/intern/MOD_surface.c +++ b/source/blender/modifiers/intern/MOD_surface.c @@ -129,7 +129,6 @@ static void deformVerts(ModifierData *md, MVert *x, *v; BKE_mesh_vert_coords_apply(surmd->mesh, vertexCos); - BKE_mesh_normals_tag_dirty(surmd->mesh); mesh_verts_num = surmd->mesh->totvert; |