summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31e039a)
raw | patch | inline | side by side (parent: 31e039a)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 14 Apr 2008 07:42:16 +0000 (07:42 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 14 Apr 2008 07:42:16 +0000 (07:42 +0000) |
src/live_effects/lpe-gears.cpp | patch | blob | history | |
src/nodepath.h | patch | blob | history |
index 7dcd32fcce710b6d6703e1c8eb511fa7fbb97f5e..e211483c629c8ac619da054a33688d1421c84f18 100644 (file)
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 47a36b90f7314418151afbc780834dfb359980a5..4b39388e50d67d0ecae08f03bc5050fe7f22e228 100644 (file)
--- a/src/nodepath.h
+++ b/src/nodepath.h
@@ -308,6 +308,7 @@ NR::Maybe<NR::Coord> 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);