From 71fb33927ed70360073e7063c447b5ac46ee7c60 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Wed, 4 Jan 2012 19:17:44 +0100 Subject: update 2geom to r2049. fixes bugs! (bzr r10837) --- src/2geom/path-intersection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/2geom/path-intersection.cpp') diff --git a/src/2geom/path-intersection.cpp b/src/2geom/path-intersection.cpp index c38776304..c680f3a31 100644 --- a/src/2geom/path-intersection.cpp +++ b/src/2geom/path-intersection.cpp @@ -460,8 +460,8 @@ void mono_pair(Path const &A, double Al, double Ah, /** This returns the times when the x or y derivative is 0 in the curve. */ std::vector curve_mono_splits(Curve const &d) { Curve* deriv = d.derivative(); - std::vector rs = d.roots(0, X); - append(rs, d.roots(0, Y)); + std::vector rs = deriv->roots(0, X); + append(rs, deriv->roots(0, Y)); delete deriv; std::sort(rs.begin(), rs.end()); return rs; -- cgit v1.2.3