diff options
| author | Michael G. Sloan <mgsloan@gmail.com> | 2007-08-18 02:22:48 +0000 |
|---|---|---|
| committer | mgsloan <mgsloan@users.sourceforge.net> | 2007-08-18 02:22:48 +0000 |
| commit | 8f7af0dbfc7bbd45d5b6ad5875449e4a8c122beb (patch) | |
| tree | d3adfa714c0759be0fb1ae075f635640c6cfacef /src | |
| parent | Fixing a possible segfault in the sbasis to path code (also committed to 2geom)) (diff) | |
| download | inkscape-8f7af0dbfc7bbd45d5b6ad5875449e4a8c122beb.tar.gz inkscape-8f7af0dbfc7bbd45d5b6ad5875449e4a8c122beb.zip | |
Doh! Sorry for breaking compile (always test!)
(bzr r3504)
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) {
|
