Fix T46219: Knife cuts fail away from center

This commit is contained in:
Campbell Barton 2015-09-24 02:58:08 +10:00
parent 1827f99a78
commit 4493cac21a
Notes: blender-bot 2023-02-14 08:38:05 +01:00
Referenced by issue #46219, Edit Mode : Knife Tool : wont cut some objects
1 changed files with 1 additions and 1 deletions

View File

@ -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)