From: johanengelen Date: Mon, 14 Apr 2008 08:24:11 +0000 (+0000) Subject: use sp_nodepath_make_straight_path in LPE VonKoch X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=1d603e91938d1f6826ae5edbad01aaeb5aa32a68;p=inkscape.git use sp_nodepath_make_straight_path in LPE VonKoch --- diff --git a/src/live_effects/lpe-vonkoch.cpp b/src/live_effects/lpe-vonkoch.cpp index 159d11428..088d576b1 100644 --- a/src/live_effects/lpe-vonkoch.cpp +++ b/src/live_effects/lpe-vonkoch.cpp @@ -18,6 +18,7 @@ #include "libnr/n-art-bpath-2geom.h" #include "svg/svg.h" #include "ui/widget/scalar.h" +#include "nodepath.h" #include <2geom/sbasis.h> #include <2geom/sbasis-geometric.h> @@ -41,7 +42,7 @@ void VonKochPathParam::param_setup_nodepath(Inkscape::NodePath::Path *np) { PathParam::param_setup_nodepath(np); - np->straight_path = true; + sp_nodepath_make_straight_path(np); } static const Util::EnumData VonKochRefTypeData[VKREF_END] = {