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:
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 bf5a7e3a053..eccc15bf83f 100644
--- a/source/blender/editors/mesh/editmesh_path.c
+++ b/source/blender/editors/mesh/editmesh_path.c
@@ -176,7 +176,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) ||
@@ -366,7 +367,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) ||
@@ -511,7 +513,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) ||