summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-14 08:24:11 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-14 08:24:11 +0000
commit5a37420b008b3fc8a305c57fedd2782f52d34f2c (patch)
tree77b995bcaff49f00a882cecec3f0ed9550886053 /src
parentnode tool update (diff)
downloadinkscape-5a37420b008b3fc8a305c57fedd2782f52d34f2c.tar.gz
inkscape-5a37420b008b3fc8a305c57fedd2782f52d34f2c.zip
use sp_nodepath_make_straight_path in LPE VonKoch
(bzr r5443)
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] = {