diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-03-09 10:33:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-03-09 10:33:24 +0300 |
commit | 36df8cc1e5be695fef4aeafc2c6b9aee92f5d56a (patch) | |
tree | 2f859e1536c5a71723510fd4ab9b0cbf12450965 | |
parent | 09e072a24585e5e3b6df73bd618022c3d646d537 (diff) |
Fix T43421: bisect_edges returns insufficient data
-rw-r--r-- | source/blender/bmesh/operators/bmo_subdivide.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide.c b/source/blender/bmesh/operators/bmo_subdivide.c index 87311199f52..003c27671a5 100644 --- a/source/blender/bmesh/operators/bmo_subdivide.c +++ b/source/blender/bmesh/operators/bmo_subdivide.c @@ -319,13 +319,9 @@ static void bm_subdivide_multicut(BMesh *bm, BMEdge *edge, const SubDParams *par for (i = 0; i < numcuts; i++) { v = subdivideedgenum(bm, eed, &e_tmp, i, params->numcuts, params, &e_new, vsta, vend); - BMO_elem_flag_enable(bm, v, SUBD_SPLIT); - BMO_elem_flag_enable(bm, eed, SUBD_SPLIT); - BMO_elem_flag_enable(bm, e_new, SUBD_SPLIT); - - BMO_elem_flag_enable(bm, v, ELE_SPLIT); - BMO_elem_flag_enable(bm, eed, ELE_SPLIT); - BMO_elem_flag_enable(bm, e_new, SUBD_SPLIT); + BMO_elem_flag_enable(bm, v, SUBD_SPLIT | ELE_SPLIT); + BMO_elem_flag_enable(bm, eed, SUBD_SPLIT | ELE_SPLIT); + BMO_elem_flag_enable(bm, e_new, SUBD_SPLIT | ELE_SPLIT); BM_CHECK_ELEMENT(v); if (v->e) BM_CHECK_ELEMENT(v->e); |