diff options
author | Bastien Montagne <bastien@blender.org> | 2020-05-25 13:44:10 +0300 |
---|---|---|
committer | Bastien Montagne <bastien@blender.org> | 2020-05-25 13:44:10 +0300 |
commit | baa188679123d0540180ac07ada0bb26004c219b (patch) | |
tree | edcba1009b39558c32019dff6d3e3fb7901b7cfc /source/blender/bmesh | |
parent | 41bb0548b0c1ac62d30cf14fca371b220e40f72e (diff) |
Fix T76990: Crash shortest path select with 'face stepping' when no faces.
Note that this sometimes gives no solution when there is a mix of edges
with and without faces... But at leat this should be safe fix.
Diffstat (limited to 'source/blender/bmesh')
-rw-r--r-- | source/blender/bmesh/tools/bmesh_path.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/bmesh/tools/bmesh_path.c b/source/blender/bmesh/tools/bmesh_path.c index 0331ca476dd..713a68969e5 100644 --- a/source/blender/bmesh/tools/bmesh_path.c +++ b/source/blender/bmesh/tools/bmesh_path.c @@ -225,7 +225,7 @@ static void edgetag_add_adjacent(HeapSimple *heap, /* unlike vert/face, stepping faces disables scanning connected edges * and only steps over faces (selecting a ring of edges instead of a loop) */ - if (params->use_step_face == false) { + if (params->use_step_face == false || e_a->l == NULL) { BMIter viter; BMVert *v; |