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:
authorCampbell Barton <ideasman42@gmail.com>2015-09-23 19:58:08 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2015-09-30 18:08:24 +0300
commit34bcd2f0ea8b07f12e84d9a2de49e6faa0f8d4fe (patch)
treed960e9fe2d7c90028c09f96521e8e76c42e2d797 /source
parent99cdafc6518b87567d64cd0893ad350f70aaf112 (diff)
Fix T46219: Knife cuts fail away from center
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 787b79f0d6e..695a3d7cdbb 100644
--- a/source/blender/editors/mesh/editmesh_knife.c
+++ b/source/blender/editors/mesh/editmesh_knife.c
@@ -1489,7 +1489,7 @@ static void clip_to_ortho_planes(float v1[3], float v2[3], float d)
closest_to_line_v3(closest, origin, v1, v2);
dist_ensure_v3_v3fl(v1, closest, d);
- dist_ensure_v3_v3fl(v2, closest, d);
+ flip_v3_v3v3(v2, closest, v1);
}
static void set_linehit_depth(KnifeTool_OpData *kcd, KnifeLineHit *lh)