[Bf-blender-cvs] [a9cd976] master: Knife Project: revert fix for T43896

Campbell Barton noreply at git.blender.org
Fri Apr 1 16:29:37 CEST 2016


Commit: a9cd97673deb4056a417cfd74fce1049e4aff5e4
Author: Campbell Barton
Date:   Sat Apr 2 01:30:57 2016 +1100
Branches: master
https://developer.blender.org/rBa9cd97673deb4056a417cfd74fce1049e4aff5e4

Knife Project: revert fix for T43896

For now leave precision at half a pixel until we have real fix.
Resolves T48023.

===================================================================

M	source/blender/editors/mesh/editmesh_knife.c

===================================================================

diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c
index 9480755..0fd56fb 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;




More information about the Bf-blender-cvs mailing list