Fix T76224: Grid fill offset doesn't work

Regression in own recent commit b1037aa88f.
This commit is contained in:
Campbell Barton 2020-05-05 13:13:48 +10:00
parent d8133b3eb9
commit 36ad59b550
Notes: blender-bot 2023-02-14 08:47:25 +01:00
Referenced by issue #76224, Grid Fill Offset function doesn't work (regression since b1037aa88f)
1 changed files with 3 additions and 0 deletions

View File

@ -4633,6 +4633,9 @@ static bool edbm_fill_grid_prepare(BMesh *bm, int offset, int *span_p, const boo
BLI_listbase_rotate_first(verts, v_act_link);
}
/* Run again to update the edge order from the rotated vertex list. */
BM_edgeloop_edges_get(el_store, edges);
if (span_calc) {
/* calculate the span by finding the next corner in 'verts'
* we dont know what defines a corner exactly so find the 4 verts