diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 19:58:08 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-09-23 20:00:52 +0300 |
commit | 4493cac21a090321f53bf7737eed14f43a97eeed (patch) | |
tree | d873216eb4ab4e62e06f584f5bd6dc18fed41721 | |
parent | 1827f99a7835628e7cf71b54dbcb21c2132ba664 (diff) |
Fix T46219: Knife cuts fail away from center
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 2 |
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) |