diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-27 18:58:20 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-27 18:58:20 +0000 |
| commit | 124983da75225fe39a40c8a265acd3daeefa3e1f (patch) | |
| tree | a3cbf4f05c59ccf3921aa6dafd4255d76f1b5cc5 /src/live_effects/effect.cpp | |
| parent | fix release mouse crash, add missed disconnects, remove unused callback (diff) | |
| download | inkscape-124983da75225fe39a40c8a265acd3daeefa3e1f.tar.gz inkscape-124983da75225fe39a40c8a265acd3daeefa3e1f.zip | |
add LPE Interpolate
(bzr r6431)
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 85f392321..8715927e1 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -63,6 +63,7 @@ #include "live_effects/lpe-offset.h" #include "live_effects/lpe-ruler.h" #include "live_effects/lpe-boolops.h" +#include "live_effects/lpe-interpolate.h" // end of includes namespace Inkscape { @@ -98,6 +99,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = { {OFFSET, N_("Offset"), "offset"}, {RULER, N_("Ruler"), "ruler"}, {BOOLOPS, N_("Boolops"), "boolops"}, + {INTERPOLATE, N_("Interpolate"), "interpolate"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE); @@ -183,6 +185,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case BOOLOPS: neweffect = static_cast<Effect*> ( new LPEBoolops(lpeobj) ); break; + case INTERPOLATE: + neweffect = static_cast<Effect*> ( new LPEInterpolate(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; |
