diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/2geom/sbasis-to-bezier.h | 2 | ||||
| -rw-r--r-- | src/live_effects/n-art-bpath-2geom.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<SBasis> const &B, unsigned q = 0); std::vector<Path> path_from_piecewise(Piecewise<D2<SBasis> > const &B, double tol); -void path_from_sbasis(Path &pb, D2<SBasis> const &B, double tol); +Path path_from_sbasis(D2<SBasis> 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) {
|
