diff options
| author | Alexander Brock <zaibu@lunar-orbit.de> | 2016-11-29 16:20:13 +0000 |
|---|---|---|
| committer | Alexander Brock <zaibu@lunar-orbit.de> | 2016-11-29 16:20:13 +0000 |
| commit | 8ac3baab9da722813ee06a1c53670de6f0669f38 (patch) | |
| tree | 19f9fa65ffba2f627e3ea5da206fe73b56acea5f /src/helper/geom-pathstroke.cpp | |
| parent | Make tolerance a parameter on every level (diff) | |
| download | inkscape-8ac3baab9da722813ee06a1c53670de6f0669f38.tar.gz inkscape-8ac3baab9da722813ee06a1c53670de6f0669f38.zip | |
Handle negative width correctly in tolerance calculation
(bzr r15280.1.6)
Diffstat (limited to 'src/helper/geom-pathstroke.cpp')
| -rw-r--r-- | src/helper/geom-pathstroke.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helper/geom-pathstroke.cpp b/src/helper/geom-pathstroke.cpp index b39bb7f91..50627fd0b 100644 --- a/src/helper/geom-pathstroke.cpp +++ b/src/helper/geom-pathstroke.cpp @@ -1078,7 +1078,7 @@ Geom::Path half_outline( double tolerance) { if (tolerance <= 0) { - if (width > 0) { + if (std::abs(width) > 0) { tolerance = 5.0 * (std::abs(width)/100); } else { |
