enable edge draw by default for new edges,

alternate fix for [#33217] Mirror Modifier not showing "Shadow" mesh in wireframe view
This commit is contained in:
Campbell Barton 2012-11-21 10:57:45 +00:00
parent fd77408e09
commit 2fd1f38fbc

@ -134,7 +134,7 @@ BMEdge *BM_edge_create(BMesh *bm, BMVert *v1, BMVert *v2, const BMEdge *example,
e->v1 = v1; e->v1 = v1;
e->v2 = v2; e->v2 = v2;
BM_elem_flag_enable(e, BM_ELEM_SMOOTH); BM_elem_flag_enable(e, BM_ELEM_SMOOTH | BM_ELEM_DRAW);
CustomData_bmesh_set_default(&bm->edata, &e->head.data); CustomData_bmesh_set_default(&bm->edata, &e->head.data);