Code

Doh! Sorry for breaking compile (always test!)
authormgsloan <mgsloan@users.sourceforge.net>
Sat, 18 Aug 2007 02:22:48 +0000 (02:22 +0000)
committermgsloan <mgsloan@users.sourceforge.net>
Sat, 18 Aug 2007 02:22:48 +0000 (02:22 +0000)
src/2geom/sbasis-to-bezier.h
src/live_effects/n-art-bpath-2geom.cpp

index 142a25026e45d1cce6a12dad99e75aa913fc82f4..d9eaabe7e47cc6870e358c2ae0d9962e1770b198 100644 (file)
@@ -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
index e71e28b991fd4cb565e125e01f747b5a7a023bcb..f04c80f2b14c3802ea90b84c2fd2184fb5744aad 100644 (file)
@@ -45,7 +45,7 @@ static void curve_to_svgd(std::ostream & f, Geom::Curve const* c) {
 //    }\r
     else { \r
         //this case handles sbasis as well as all other curve types\r
-        Geom::Path sbasis_path = path_from_sbasis(sbasis_path, c->sbasis(), 0.1);\r
+        Geom::Path sbasis_path = path_from_sbasis(c->sbasis(), 0.1);\r
 \r
         //recurse to convert the new path resulting from the sbasis to svgd\r
         for(Geom::Path::iterator iter = sbasis_path.begin(); iter != sbasis_path.end(); ++iter) {\r