Merge branch 'master' into blender2.8
[blender.git] / source / blender / editors / mesh / editmesh_knife.c
index 3fe7c1d1c99cdd64b58467fafb50da9e17bda3fd..530faffdac115f84ea2b47a425f9b2fbbd65df27 100644 (file)
@@ -1492,7 +1492,7 @@ static void clip_to_ortho_planes(float v1[3], float v2[3], const float center[3]
 
        /* could be v1 or v2 */
        sub_v3_v3(v1, center);
-       project_plane_v3_v3v3(closest, v1, dir);
+       project_plane_normalized_v3_v3v3(closest, v1, dir);
        add_v3_v3(closest, center);
 
        madd_v3_v3v3fl(v1, closest, dir,  d);