summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index e4c79bfdc..20d1c113d 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -626,9 +626,9 @@ fit_and_split(SPPencilContext *pc)
{
g_assert( pc->npoints > 1 );
- double const tolerance_sq = square( NR::expansion(pc->desktop->w2d())
+ double const tolerance_sq = 0.02 * square( NR::expansion(pc->desktop->w2d())
* prefs_get_double_attribute_limited("tools.freehand.pencil",
- "tolerance", 10.0, 1.0, 100.0) );
+ "tolerance", 10.0, 1.0, 100.0) );
NR::Point b[4];
g_assert(is_zero(pc->req_tangent)