summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-16 16:17:27 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-16 16:17:27 +0000
commit34ac54244271a679a72da82b1a5ff62be1d3c58f (patch)
tree6252b2888747e98c4efcf905f2d9e34640cba2d1 /src/live_effects/effect.h
parentTemporarily add shortcuts in pen context to activate some LPEs which need pat... (diff)
downloadinkscape-34ac54244271a679a72da82b1a5ff62be1d3c58f.tar.gz
inkscape-34ac54244271a679a72da82b1a5ff62be1d3c58f.zip
Activate automatic knotholders for LPE PointParams
(bzr r5963)
Diffstat (limited to 'src/live_effects/effect.h')
-rw-r--r--src/live_effects/effect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index 6eeff94c4..54dcf0c8c 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -120,11 +120,12 @@ public:
// TODO: providesKnotholder() is currently used as an indicator of whether a nodepath is
// created for an item or not. When we allow both at the same time, this needs rethinking!
- bool providesKnotholder() { return (kh_entity_vector.size() > 0); }
+ bool providesKnotholder();
// TODO: in view of providesOwnFlashPaths() below, this is somewhat redundant
// (but spiro lpe still needs it!)
virtual LPEPathFlashType pathFlashType() { return DEFAULT; }
void addHandles(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
+ void addPointParamHandles(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
void addHelperPaths(SPLPEItem *lpeitem, SPDesktop *desktop);
inline bool providesOwnFlashPaths() {
@@ -160,7 +161,6 @@ protected:
void registerParameter(Parameter * param);
void registerKnotHolderHandle(KnotHolderEntity* entity, const char* descr);
- void addPointParamHandles(KnotHolder *knotholder, SPDesktop *desktop, SPItem *item);
Parameter * getNextOncanvasEditableParam();
virtual void addHelperPathsImpl(SPLPEItem *lpeitem, SPDesktop *desktop);