diff options
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/bmesh/operators/bmo_grid_fill.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/bmesh/operators/bmo_grid_fill.c b/source/blender/bmesh/operators/bmo_grid_fill.c index 21325cf05b2..58bc0c86b4d 100644 --- a/source/blender/bmesh/operators/bmo_grid_fill.c +++ b/source/blender/bmesh/operators/bmo_grid_fill.c @@ -327,6 +327,11 @@ static bool bm_edge_test_cb(BMEdge *e, void *bm_v) static bool bm_edge_test_rail_cb(BMEdge *e, void *UNUSED(bm_v)) { + /* normally operators dont check for hidden state + * but alternative would be to pass slot of rail edges */ + if (BM_elem_flag_test(e, BM_ELEM_HIDDEN)) { + return false; + } return BM_edge_is_wire(e) || BM_edge_is_boundary(e); } |