diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-08-13 18:49:19 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-08-13 18:49:19 +0300 |
commit | ff6bd57873ec11f7748bc74bf3d628b3cbe38f70 (patch) | |
tree | dc7708136414558f433adee04f3c5fc9cbd73e75 /source/blender/editors/mesh/editmesh_path.c | |
parent | 0e8bd6ba8a27ad641526ecb0cf5f0414b631f247 (diff) | |
parent | bc675d90d0a17bbd5e52b2549c4e504366052c22 (diff) |
Merge branch 'master' into blender2.8
Diffstat (limited to 'source/blender/editors/mesh/editmesh_path.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_path.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/source/blender/editors/mesh/editmesh_path.c b/source/blender/editors/mesh/editmesh_path.c index 64d890a7314..68157dab4e0 100644 --- a/source/blender/editors/mesh/editmesh_path.c +++ b/source/blender/editors/mesh/editmesh_path.c @@ -180,7 +180,8 @@ static void mouse_mesh_shortest_path_vert( } } while ((node = node->next)); - int depth = 1; + /* We need to start as if just *after* a 'skip' block... */ + int depth = op_params->interval_params.skip; node = path; do { if ((is_path_ordered == false) || @@ -369,7 +370,8 @@ static void mouse_mesh_shortest_path_edge( } } while ((node = node->next)); - int depth = 1; + /* We need to start as if just *after* a 'skip' block... */ + int depth = op_params->interval_params.skip; node = path; do { if ((is_path_ordered == false) || @@ -513,7 +515,8 @@ static void mouse_mesh_shortest_path_face( } } while ((node = node->next)); - int depth = 1; + /* We need to start as if just *after* a 'skip' block... */ + int depth = op_params->interval_params.skip; node = path; do { if ((is_path_ordered == false) || |