From c874d2ee5e49a890191f12deb8846ca099359e1e Mon Sep 17 00:00:00 2001 From: cilix42 Date: Tue, 29 Jul 2008 14:55:41 +0000 Subject: [PATCH] automatically add helperpath for PathParams --- src/live_effects/parameter/path.cpp | 6 ++++++ src/live_effects/parameter/path.h | 1 + 2 files changed, 7 insertions(+) diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index c954e09df..2d659c2c7 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -217,6 +217,12 @@ PathParam::param_setup_nodepath(Inkscape::NodePath::Path *np) np->helperpath_width = 1.0; } +void +PathParam::addCanvasIndicators(SPLPEItem *lpeitem, std::vector &hp_vec) +{ + hp_vec.push_back(_pathvector); +} + /* * Only applies transform when not referring to other path! */ diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h index 267ff48ea..76f3fa774 100644 --- a/src/live_effects/parameter/path.h +++ b/src/live_effects/parameter/path.h @@ -47,6 +47,7 @@ public: virtual void param_editOncanvas(SPItem * item, SPDesktop * dt); virtual void param_setup_nodepath(Inkscape::NodePath::Path *np); + virtual void addCanvasIndicators(SPLPEItem *lpeitem, std::vector &hp_vec); virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/); -- 2.30.2