summaryrefslogtreecommitdiffstats
path: root/src/2geom/elliptical-arc.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-05-21 21:07:01 +0000
committerjabiertxof <info@marker.es>2016-05-21 21:07:01 +0000
commit0c4ff843cb6263af471cd0b95ebb3a930b8a000e (patch)
tree36559957dab0432bf071f45a0449ccb70167a2cc /src/2geom/elliptical-arc.cpp
parentUpdate to refresh knots (diff)
parentRemove duplicated code (diff)
downloadinkscape-0c4ff843cb6263af471cd0b95ebb3a930b8a000e.tar.gz
inkscape-0c4ff843cb6263af471cd0b95ebb3a930b8a000e.zip
update to trunk
(bzr r13645.1.140)
Diffstat (limited to 'src/2geom/elliptical-arc.cpp')
-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;
}
}