summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/live_effects/lpe-vonkoch.cpp3
1 files changed, 2 insertions, 1 deletions
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<VonKochRefType> VonKochRefTypeData[VKREF_END] = {