summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.h
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-06-16 15:46:06 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-06-16 15:46:06 +0000
commit880114dc05648206f6f0ee8fe62cd93a272f934d (patch)
treeebca6a45874890405e07b0f62e0a555e3ec4343e /src/live_effects/effect.h
parentSecond step: try to make helper curves respond faster (don't recreate/delete ... (diff)
downloadinkscape-880114dc05648206f6f0ee8fe62cd93a272f934d.tar.gz
inkscape-880114dc05648206f6f0ee8fe62cd93a272f934d.zip
Ditch PERMANENT_FLASH because it is handled by providesOwnFlashPath(); avoid flashing when LPE already provides a helperpath
(bzr r5956)
Diffstat (limited to 'src/live_effects/effect.h')
-rw-r--r--src/live_effects/effect.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h
index 9bcbf51ab..799c4cf75 100644
--- a/src/live_effects/effect.h
+++ b/src/live_effects/effect.h
@@ -81,7 +81,7 @@ extern const Util::EnumDataConverter<EffectType> LPETypeConverter;
enum LPEPathFlashType {
SUPPRESS_FLASH,
- PERMANENT_FLASH,
+// PERMANENT_FLASH,
DEFAULT
};
@@ -119,6 +119,8 @@ 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); }
+ // 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);