Fix [#36259] Select linked flat faces with Shift+Ctrl+Alt+F does not work in ver. 2.68

Code was cleaning BM_ELEM_TAG flag of verts, when it actually uses the one of faces...
This commit is contained in:
Bastien Montagne
2013-07-23 18:03:40 +00:00
parent 965e0aeb59
commit 78490c0a7b

View File

@@ -2619,7 +2619,7 @@ static int edbm_select_linked_flat_faces_exec(bContext *C, wmOperator *op)
BMLoop *l, *l2;
const float angle_limit = RNA_float_get(op->ptr, "sharpness");
BM_mesh_elem_hflag_disable_all(bm, BM_VERT, BM_ELEM_TAG, false);
BM_mesh_elem_hflag_disable_all(bm, BM_FACE, BM_ELEM_TAG, false);
BM_ITER_MESH (f, &iter, bm, BM_FACES_OF_MESH) {