diff options
Diffstat (limited to 'source/blender/bmesh/operators')
-rw-r--r-- | source/blender/bmesh/operators/bmo_edgenet.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source/blender/bmesh/operators/bmo_edgenet.c b/source/blender/bmesh/operators/bmo_edgenet.c index 325b40cb935..4e78d1dc494 100644 --- a/source/blender/bmesh/operators/bmo_edgenet.c +++ b/source/blender/bmesh/operators/bmo_edgenet.c @@ -826,10 +826,8 @@ static EPath *edge_find_shortest_path(BMesh *bm, BMOperator *op, BMEdge *edge, E } if (!v2) { - if (path) { - edge_free_path(pathbase, path); - path = NULL; - } + edge_free_path(pathbase, path); + path = NULL; continue; } |