From: mgsloan Date: Sat, 18 Aug 2007 02:22:48 +0000 (+0000) Subject: Doh! Sorry for breaking compile (always test!) X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=818ee438d643ed42e980c71df71e7d39eacdcd96;p=inkscape.git Doh! Sorry for breaking compile (always test!) --- diff --git a/src/2geom/sbasis-to-bezier.h b/src/2geom/sbasis-to-bezier.h index 142a25026..d9eaabe7e 100644 --- a/src/2geom/sbasis-to-bezier.h +++ b/src/2geom/sbasis-to-bezier.h @@ -14,7 +14,7 @@ sbasis_to_bezier(D2 const &B, unsigned q = 0); std::vector path_from_piecewise(Piecewise > const &B, double tol); -void path_from_sbasis(Path &pb, D2 const &B, double tol); +Path path_from_sbasis(D2 const &B, double tol); }; #endif diff --git a/src/live_effects/n-art-bpath-2geom.cpp b/src/live_effects/n-art-bpath-2geom.cpp index e71e28b99..f04c80f2b 100644 --- a/src/live_effects/n-art-bpath-2geom.cpp +++ b/src/live_effects/n-art-bpath-2geom.cpp @@ -45,7 +45,7 @@ static void curve_to_svgd(std::ostream & f, Geom::Curve const* c) { // } else { //this case handles sbasis as well as all other curve types - Geom::Path sbasis_path = path_from_sbasis(sbasis_path, c->sbasis(), 0.1); + Geom::Path sbasis_path = path_from_sbasis(c->sbasis(), 0.1); //recurse to convert the new path resulting from the sbasis to svgd for(Geom::Path::iterator iter = sbasis_path.begin(); iter != sbasis_path.end(); ++iter) {