Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2016-04-01 17:30:57 +0300
committerCampbell Barton <ideasman42@gmail.com>2016-04-01 17:33:10 +0300
commita9cd97673deb4056a417cfd74fce1049e4aff5e4 (patch)
tree6248769de65f8f9517ce31a8ea0f734bd9d5a6db /source/blender/editors/mesh
parent9ca925669301f75878c15c5b75730a0f58d135cc (diff)
Knife Project: revert fix for T43896
For now leave precision at half a pixel until we have real fix. Resolves T48023.
Diffstat (limited to 'source/blender/editors/mesh')
-rw-r--r--source/blender/editors/mesh/editmesh_knife.c7
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;