diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-16 15:46:06 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-16 15:46:06 +0000 |
| commit | 880114dc05648206f6f0ee8fe62cd93a272f934d (patch) | |
| tree | ebca6a45874890405e07b0f62e0a555e3ec4343e /src/live_effects | |
| parent | Second step: try to make helper curves respond faster (don't recreate/delete ... (diff) | |
| download | inkscape-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')
| -rw-r--r-- | src/live_effects/effect.h | 4 | ||||
| -rw-r--r-- | src/live_effects/lpe-mirror_reflect.h | 2 | ||||
| -rw-r--r-- | src/live_effects/lpe-tangent_to_curve.h | 2 |
3 files changed, 3 insertions, 5 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); diff --git a/src/live_effects/lpe-mirror_reflect.h b/src/live_effects/lpe-mirror_reflect.h index b4f7029a0..61745a439 100644 --- a/src/live_effects/lpe-mirror_reflect.h +++ b/src/live_effects/lpe-mirror_reflect.h @@ -31,8 +31,6 @@ public: virtual void acceptParamPath (SPPath *param_path); virtual int acceptsNumParams() { return 2; } - virtual LPEPathFlashType pathFlashType() { return SUPPRESS_FLASH; } - virtual std::vector<Geom::Path> doEffect_path (std::vector<Geom::Path> const & path_in); private: diff --git a/src/live_effects/lpe-tangent_to_curve.h b/src/live_effects/lpe-tangent_to_curve.h index 464b692bf..8fe54335c 100644 --- a/src/live_effects/lpe-tangent_to_curve.h +++ b/src/live_effects/lpe-tangent_to_curve.h @@ -38,8 +38,6 @@ public: virtual Geom::Piecewise<Geom::D2<Geom::SBasis> > doEffect_pwd2 (Geom::Piecewise<Geom::D2<Geom::SBasis> > const & pwd2_in); - virtual LPEPathFlashType pathFlashType() { return SUPPRESS_FLASH; } - /* the knotholder entity classes must be declared friends */ friend class TtC::KnotHolderEntityLeftEnd; friend class TtC::KnotHolderEntityRightEnd; |
