Code

use pathvector directly from SPCurve in LPE path parameter.
authorjohanengelen <johanengelen@users.sourceforge.net>
Sun, 22 Jun 2008 17:32:08 +0000 (17:32 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Sun, 22 Jun 2008 17:32:08 +0000 (17:32 +0000)
src/live_effects/parameter/path.cpp

index 759e9f788c148083a306a1d9c54939ef3b0a1c98..295e40b7a57b58e184a9d1c542601dbbd0feedba 100644 (file)
@@ -326,7 +326,7 @@ PathParam::linked_modified(SPObject *linked_obj, guint /*flags*/)
         // curve invalid, set default value
         _pathvector = sp_svg_read_pathv(defvalue);
     } else {
-        _pathvector = BPath_to_2GeomPath(SP_CURVE_BPATH(curve));
+        _pathvector = curve->get_pathvector();
         curve->unref();
     }