summaryrefslogtreecommitdiffstats
path: root/src/2geom
diff options
context:
space:
mode:
authorDiederik van Lierop <mail@diedenrezi.nl>2016-05-21 08:21:05 +0000
committerDiederik van Lierop <mail@diedenrezi.nl>2016-05-21 08:21:05 +0000
commit930591ebe1aaeb5827db8e0c66e2ef0329f7dcf0 (patch)
treeb47f69614dcaac6a4a9855f0a54ce0211e68c665 /src/2geom
parentFix some snapping bugs that lead to infinite transforms and crashes in 2geom (diff)
downloadinkscape-930591ebe1aaeb5827db8e0c66e2ef0329f7dcf0.tar.gz
inkscape-930591ebe1aaeb5827db8e0c66e2ef0329f7dcf0.zip
Adjust some thresholds for finding intersections in elliptical arcs
Fixed bugs: - https://launchpad.net/bugs/1479167 (bzr r14906)
Diffstat (limited to 'src/2geom')
-rw-r--r--src/2geom/elliptical-arc.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/2geom/elliptical-arc.cpp b/src/2geom/elliptical-arc.cpp
index a0e379a21..ec62b4be2 100644
--- a/src/2geom/elliptical-arc.cpp
+++ b/src/2geom/elliptical-arc.cpp
@@ -570,13 +570,13 @@ void EllipticalArc::_filterIntersections(std::vector<ShapeIntersection> &xs, boo
std::vector<ShapeIntersection>::reverse_iterator i = xs.rbegin(), last = xs.rend();
while (i != last) {
Coord &t = is_first ? i->first : i->second;
- assert(are_near(_ellipse.pointAt(t), i->point(), 1e-6));
+ assert(are_near(_ellipse.pointAt(t), i->point(), 1e-5));
t = timeAtAngle(t);
if (!unit.contains(t)) {
xs.erase((++i).base());
continue;
} else {
- assert(are_near(pointAt(t), i->point(), 1e-6));
+ assert(are_near(pointAt(t), i->point(), 1e-5));
++i;
}
}