Cleanup: remove use of BKE_mesh_calc_normals_mapping_simple

Use BKE_mesh_calc_normals instead of
BKE_mesh_calc_normals_mapping_simple for curve modifier calculation.

This only made sense for derived-mesh which is no longer used.
This commit is contained in:
Campbell Barton 2021-08-13 14:37:30 +10:00
parent ab344775c2
commit b51a473e29
1 changed files with 1 additions and 1 deletions

View File

@ -1003,7 +1003,7 @@ static void curve_calc_modifiers_post(Depsgraph *depsgraph,
modified = temp_mesh;
BKE_mesh_vert_coords_apply(modified, vertCos);
BKE_mesh_calc_normals_mapping_simple(modified);
BKE_mesh_calc_normals(modified);
MEM_freeN(vertCos);
}