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:
authorBastien Montagne <montagne29@wanadoo.fr>2018-08-13 18:49:19 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-08-13 18:49:19 +0300
commitff6bd57873ec11f7748bc74bf3d628b3cbe38f70 (patch)
treedc7708136414558f433adee04f3c5fc9cbd73e75 /source/blender/editors/mesh/editmesh_path.c
parent0e8bd6ba8a27ad641526ecb0cf5f0414b631f247 (diff)
parentbc675d90d0a17bbd5e52b2549c4e504366052c22 (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.c9
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) ||