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
path: root/source
diff options
context:
space:
mode:
Diffstat (limited to 'source')
-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) ||