diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-16 16:17:27 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-16 16:17:27 +0000 |
| commit | 34ac54244271a679a72da82b1a5ff62be1d3c58f (patch) | |
| tree | 6252b2888747e98c4efcf905f2d9e34640cba2d1 /src/live_effects/effect.h | |
| parent | Temporarily add shortcuts in pen context to activate some LPEs which need pat... (diff) | |
| download | inkscape-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.h | 4 |
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); |
