From 34ac54244271a679a72da82b1a5ff62be1d3c58f Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Mon, 16 Jun 2008 16:17:27 +0000 Subject: Activate automatic knotholders for LPE PointParams (bzr r5963) --- src/live_effects/effect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/live_effects/effect.h') 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); -- cgit v1.2.3