From e4df289bd436daf43602c3bac2a7628f45b789c8 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Sun, 18 May 2008 21:02:43 +0000 Subject: Add a function doOnApply() for LPEs which is executed once when the effect is applied to an item (contrary to doBeforeEffect() which is executed, e.g., each time a parameter changes (bzr r5698) --- src/live_effects/effect.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/live_effects/effect.cpp') diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 9f74af3d9..1d4481415 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -162,6 +162,12 @@ Effect::effectType() { return lpeobj->effecttype; } +void +Effect::doOnApply (SPLPEItem */*lpeitem*/) +{ + // This is performed once when the effect is freshly applied to a path +} + void Effect::doBeforeEffect (SPLPEItem */*lpeitem*/) { -- cgit v1.2.3