Fix T37399: Crash with wireframe (wasn't clearing edge tag)

This commit is contained in:
Campbell Barton 2013-11-19 16:45:21 +11:00
parent 2b946f4297
commit 4c42e73a9d
Notes: blender-bot 2023-02-14 11:37:00 +01:00
Referenced by issue #37399, Blender closes when performing "Mesh -> Faces -> Wire Frame" twice on attached faces
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ void bmo_wireframe_exec(BMesh *bm, BMOperator *op)
}
/* setup tags, all faces and verts will be tagged which will be duplicated */
BM_mesh_elem_hflag_disable_all(bm, BM_FACE, BM_ELEM_TAG, false);
BM_mesh_elem_hflag_disable_all(bm, BM_FACE | BM_EDGE, BM_ELEM_TAG, false);
BMO_ITER (f_src, &oiter, op->slots_in, "faces", BM_FACE) {
verts_loop_tot += f_src->len;