Code

fix compositing for premultiplication and non-alpha cases
[inkscape.git] / src / live_effects / n-art-bpath-2geom.cpp
index 5f4e4c7b90af59a4c8882822f360299cc31af866..f04c80f2b14c3802ea90b84c2fd2184fb5744aad 100644 (file)
@@ -45,8 +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;\r
-        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