From 1d603e91938d1f6826ae5edbad01aaeb5aa32a68 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 14 Apr 2008 08:24:11 +0000 Subject: [PATCH] use sp_nodepath_make_straight_path in LPE VonKoch --- src/live_effects/lpe-vonkoch.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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] = { -- 2.30.2