diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-04-01 17:30:57 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-04-05 11:36:12 +0300 |
commit | f4eb7e149a0bc42b198b67e18c38d619b8e3277b (patch) | |
tree | 5d510894fe5cfbce711ad63b5cfb1e2e61476865 | |
parent | 713669f7e67e1e5fc01caaa9c9a2da932d71759a (diff) |
Knife Project: revert fix for T43896
For now leave precision at half a pixel until we have real fix.
Resolves T48023.
-rw-r--r-- | source/blender/editors/mesh/editmesh_knife.c | 7 |
1 files changed, 5 insertions, 2 deletions
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; |