Knife Project: revert fix for T43896

For now leave precision at half a pixel until we have real fix.
Resolves T48023.
This commit is contained in:
Campbell Barton 2016-04-02 01:30:57 +11:00
parent 9ca9256693
commit a9cd97673d
Notes: blender-bot 2023-02-14 08:01:54 +01:00
Referenced by issue #48023, Knife project work very bad (still)
1 changed files with 5 additions and 2 deletions

View File

@ -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;