diff options
author | Andrew Hale <TrumanBlending@gmail.com> | 2018-08-20 06:23:32 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-08-20 06:38:10 +0300 |
commit | f52e31a46dc16275a31cb36d85d09fdf1a675a65 (patch) | |
tree | f8d6dd77b00949ded1c63969480a6a939626a125 /source/blender/bmesh/operators/bmo_subdivide.c | |
parent | 98efcdb1a0e31beff50922132e475695c3ae6af7 (diff) |
Fix BMesh edge_bisect, edge_percent being ignored
Also fix float/int/bool access methods
Diffstat (limited to 'source/blender/bmesh/operators/bmo_subdivide.c')
-rw-r--r-- | source/blender/bmesh/operators/bmo_subdivide.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_subdivide.c b/source/blender/bmesh/operators/bmo_subdivide.c index 90cbe9a5d76..c8ba2134a73 100644 --- a/source/blender/bmesh/operators/bmo_subdivide.c +++ b/source/blender/bmesh/operators/bmo_subdivide.c @@ -1363,6 +1363,9 @@ void bmo_bisect_edges_exec(BMesh *bm, BMOperator *op) bmo_subd_init_shape_info(bm, ¶ms); + /* tag edges in map */ + BMO_slot_map_to_flag(bm, op->slots_in, "edge_percents", BM_EDGE, EDGE_PERCENT); + /* go through and split edges */ BMO_ITER (e, &siter, op->slots_in, "edges", BM_EDGE) { bm_subdivide_multicut(bm, e, ¶ms, e->v1, e->v2); |