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/mesh/editmesh_utils.c')
-rw-r--r--source/blender/editors/mesh/editmesh_utils.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c
index 40fda072180..c2c79d337ea 100644
--- a/source/blender/editors/mesh/editmesh_utils.c
+++ b/source/blender/editors/mesh/editmesh_utils.c
@@ -655,10 +655,7 @@ static void undoMesh_to_editbtMesh(void *umv, void *em_v, void *UNUSED(obdata))
bm = BM_mesh_create(&allocsize);
- BM_mesh_bm_from_me(bm, &um->me, false, ob->shapenr);
-
- /* face normals need recalculation since we are not calling through an operator */
- BM_mesh_normals_update(bm);
+ BM_mesh_bm_from_me(bm, &um->me, true, false, ob->shapenr);
em_tmp = BKE_editmesh_create(bm, true);
*em = *em_tmp;