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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user