summaryrefslogtreecommitdiffstats
path: root/src/livarot/ShapeSweep.cpp
diff options
context:
space:
mode:
authorAlvin Penner <penner@vaxxine.com>2013-09-14 19:54:11 +0000
committerapenner <penner@vaxxine.com>2013-09-14 19:54:11 +0000
commit7debcf27e2e4b795a1a8d56155515ddf5fecf33d (patch)
tree4d5a2e02c09c31021c1efab508a1900724f262fa /src/livarot/ShapeSweep.cpp
parentfix windows build (diff)
downloadinkscape-7debcf27e2e4b795a1a8d56155515ddf5fecf33d.tar.gz
inkscape-7debcf27e2e4b795a1a8d56155515ddf5fecf33d.zip
Path->Inset. remove redundant node on inner join. (Bug 1218333)
Fixed bugs: - https://launchpad.net/bugs/1218333 (bzr r12518)
Diffstat (limited to 'src/livarot/ShapeSweep.cpp')
-rw-r--r--src/livarot/ShapeSweep.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/livarot/ShapeSweep.cpp b/src/livarot/ShapeSweep.cpp
index ff58b4a71..1954139fa 100644
--- a/src/livarot/ShapeSweep.cpp
+++ b/src/livarot/ShapeSweep.cpp
@@ -2672,7 +2672,8 @@ Shape::TesteAdjacency (Shape * a, int no, const Geom::Point atx, int nPt,
double e = IHalfRound ((cross (diff,adir)) * a->eData[no].isqlength);
if (-3 < e && e < 3)
{
- double rad = HalfRound (0.501); // when using single precision, 0.505 is better (0.5 would be the correct value,
+ double rad = HalfRound (1);
+// double rad = HalfRound (0.501); // when using single precision, 0.505 is better (0.5 would be the correct value,
// but it produces lots of bugs)
diff1[0] = diff[0] - rad;
diff1[1] = diff[1] - rad;