From 36ad59b550a29767c2a380c1e6feeb28b1826bc3 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 5 May 2020 13:13:48 +1000 Subject: Fix T76224: Grid fill offset doesn't work Regression in own recent commit b1037aa88fedb. --- source/blender/editors/mesh/editmesh_tools.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_tools.c b/source/blender/editors/mesh/editmesh_tools.c index 24c5cbb8573..fd5bf006829 100644 --- a/source/blender/editors/mesh/editmesh_tools.c +++ b/source/blender/editors/mesh/editmesh_tools.c @@ -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 -- cgit v1.2.3