Commit: f4eb7e149a0bc42b198b67e18c38d619b8e3277b
Author: Campbell Barton
Date:   Sat Apr 2 01:30:57 2016 +1100
Branches: blender-v2.77-release
https://developer.blender.org/rBf4eb7e149a0bc42b198b67e18c38d619b8e3277b

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;

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to