[Bf-blender-cvs] [2626a6fca25] master: Cleanup: remove tessface check when entering edit-mode
Campbell Barton
noreply at git.blender.org
Sun Aug 25 09:03:13 CEST 2019
Commit: 2626a6fca25113b54fca20b4f2cc906a9ed6d5f8
Author: Campbell Barton
Date: Sun Aug 25 12:41:31 2019 +1000
Branches: master
https://developer.blender.org/rB2626a6fca25113b54fca20b4f2cc906a9ed6d5f8
Cleanup: remove tessface check when entering edit-mode
===================================================================
M source/blender/editors/mesh/editmesh_utils.c
===================================================================
diff --git a/source/blender/editors/mesh/editmesh_utils.c b/source/blender/editors/mesh/editmesh_utils.c
index 2691c10cfb4..748de60abc9 100644
--- a/source/blender/editors/mesh/editmesh_utils.c
+++ b/source/blender/editors/mesh/editmesh_utils.c
@@ -292,10 +292,6 @@ void EDBM_mesh_make(Object *ob, const int select_mode, const bool add_key_index)
Mesh *me = ob->data;
BMesh *bm;
- if (UNLIKELY(!me->mpoly && me->totface)) {
- BKE_mesh_convert_mfaces_to_mpolys(me);
- }
-
bm = BKE_mesh_to_bmesh(me,
ob,
add_key_index,
More information about the Bf-blender-cvs
mailing list