Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-05-05 06:13:48 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-05-05 06:13:48 +0300
commit36ad59b550a29767c2a380c1e6feeb28b1826bc3 (patch)
tree60e898e53e41cedee591b29ec03f23a2adb7fdea /source/blender/editors/mesh
parentd8133b3eb99ac7ccc420d54a6a52a3f750e497ac (diff)
Fix T76224: Grid fill offset doesn't work
Regression in own recent commit b1037aa88fedb.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_tools.c3
1 files changed, 3 insertions, 0 deletions
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