Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/editors/transform/transform_convert_mesh.c')
-rw-r--r--source/blender/editors/transform/transform_convert_mesh.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/editors/transform/transform_convert_mesh.c b/source/blender/editors/transform/transform_convert_mesh.c
index 422370cb13b..4c674136b6a 100644
--- a/source/blender/editors/transform/transform_convert_mesh.c
+++ b/source/blender/editors/transform/transform_convert_mesh.c
@@ -1842,13 +1842,11 @@ void recalcData_mesh(TransInfo *t)
* It's impractical to calculate this ahead of time.
* Further, the down side of using partial updates when their not needed is negligible. */
if (em->bm->totvert == em->bm->totvertsel) {
- EDBM_mesh_normals_update(em);
- BKE_editmesh_looptri_calc(em);
+ BKE_editmesh_looptri_and_normals_calc(em);
}
else {
BMPartialUpdate *partial_update_cache = tc_mesh_ensure_partial_update(t, tc);
- BM_mesh_normals_update_with_partial(em->bm, partial_update_cache);
- BKE_editmesh_looptri_calc_with_partial(em, partial_update_cache);
+ BKE_editmesh_looptri_and_normals_calc_with_partial(em, partial_update_cache);
}
}
}