From: cilix42 Date: Tue, 29 Jul 2008 14:55:41 +0000 (+0000) Subject: automatically add helperpath for PathParams X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c874d2ee5e49a890191f12deb8846ca099359e1e;p=inkscape.git automatically add helperpath for PathParams --- 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*/);