summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-05-18 21:02:43 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-05-18 21:02:43 +0000
commite4df289bd436daf43602c3bac2a7628f45b789c8 (patch)
tree34ac3c6ea3c9fef799a5c24fcee17bb3583e0f88 /src/live_effects/effect.cpp
parentnoop: correct spelling in comment (diff)
downloadinkscape-e4df289bd436daf43602c3bac2a7628f45b789c8.tar.gz
inkscape-e4df289bd436daf43602c3bac2a7628f45b789c8.zip
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)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp6
1 files changed, 6 insertions, 0 deletions
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
@@ -163,6 +163,12 @@ Effect::effectType() {
}
void
+Effect::doOnApply (SPLPEItem */*lpeitem*/)
+{
+ // This is performed once when the effect is freshly applied to a path
+}
+
+void
Effect::doBeforeEffect (SPLPEItem */*lpeitem*/)
{
//Do nothing for simple effects