correct edgeloop tagging assigning an uninitialized value, also remove redundant NULL check in edgenet fill
This commit is contained in:
@@ -56,7 +56,7 @@ static int bm_vert_other_tag(BMVert *v, BMVert *v_prev,
|
||||
BMEdge **r_e)
|
||||
{
|
||||
BMIter iter;
|
||||
BMEdge *e, *e_next;
|
||||
BMEdge *e, *e_next = NULL;
|
||||
unsigned int count = 0;
|
||||
|
||||
BM_ITER_ELEM (e, &iter, v, BM_EDGES_OF_VERT) {
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user