From a9cd97673deb4056a417cfd74fce1049e4aff5e4 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 2 Apr 2016 01:30:57 +1100 Subject: Knife Project: revert fix for T43896 For now leave precision at half a pixel until we have real fix. Resolves T48023. --- source/blender/editors/mesh/editmesh_knife.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index 94807559a75..0fd56fbcc4e 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -1625,8 +1625,11 @@ static void knife_find_line_hits(KnifeTool_OpData *kcd) face_tol = KNIFE_FLT_EPS_PX_FACE; } else { - /* use 1/100th of a pixel, see T43896 (too big), T47910 (too small). */ - vert_tol = line_tol = face_tol = 0.01f; + /* Use 1/100th of a pixel, see T43896 (too big), T47910 (too small). + * + * Update, leave this as is until we investigate not using pixel coords for geometry calculations: T48023 + */ + vert_tol = line_tol = face_tol = 0.5f; } vert_tol_sq = vert_tol * vert_tol; -- cgit v1.2.3