From 8c9d07faa45ace5594253cd76e4e211c659953a0 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Mon, 14 Apr 2008 07:42:16 +0000 Subject: [PATCH] use sp_nodepath_make_straight_path in LPEGears --- src/live_effects/lpe-gears.cpp | 2 +- src/nodepath.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/live_effects/lpe-gears.cpp b/src/live_effects/lpe-gears.cpp index 7dcd32fcc..e211483c6 100644 --- a/src/live_effects/lpe-gears.cpp +++ b/src/live_effects/lpe-gears.cpp @@ -265,7 +265,7 @@ void LPEGears::setup_nodepath(Inkscape::NodePath::Path *np) { Effect::setup_nodepath(np); - np->straight_path = true; + sp_nodepath_make_straight_path(np); } } // namespace LivePathEffect diff --git a/src/nodepath.h b/src/nodepath.h index 47a36b90f..4b39388e5 100644 --- a/src/nodepath.h +++ b/src/nodepath.h @@ -308,6 +308,7 @@ NR::Maybe sp_node_selected_common_coord (Inkscape::NodePath::Path *no void sp_nodepath_show_handles(Inkscape::NodePath::Path *nodepath, bool show); void sp_nodepath_show_helperpath(Inkscape::NodePath::Path *nodepath, bool show); +void sp_nodepath_make_straight_path(Inkscape::NodePath::Path *np); void sp_nodepath_selected_nodes_rotate (Inkscape::NodePath::Path * nodepath, gdouble angle, int which, bool screen); -- 2.30.2