summaryrefslogtreecommitdiffstats
path: root/src/pencil-context.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-09-18 17:48:42 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-09-18 17:48:42 +0000
commit07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8 (patch)
tree3a4c8c7f4f8de2878adbe5eabaf75460d35b8bcb /src/pencil-context.cpp
parentNR ==> Geom conversion in sp-canvas (diff)
downloadinkscape-07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8.tar.gz
inkscape-07a2c5b0db916ac9e5dee3bcbafcb12d8e767fa8.zip
Next roud of NR ==> Geom conversion
(bzr r6839)
Diffstat (limited to 'src/pencil-context.cpp')
-rw-r--r--src/pencil-context.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pencil-context.cpp b/src/pencil-context.cpp
index cfc1fc010..96313ab37 100644
--- a/src/pencil-context.cpp
+++ b/src/pencil-context.cpp
@@ -634,7 +634,7 @@ fit_and_split(SPPencilContext *pc)
g_assert( pc->npoints > 1 );
double const tol = prefs_get_double_attribute_limited("tools.freehand.pencil", "tolerance", 10.0, 1.0, 100.0);
- double const tolerance_sq = 0.02 * square( NR::expansion(pc->desktop->w2d()) * tol)
+ double const tolerance_sq = 0.02 * square( pc->desktop->w2d().descrim() * tol)
* exp(0.2*tol - 2);
Geom::Point b[4];