summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-06 16:12:41 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-06-06 16:12:41 +0000
commitfa06e2deb21ba6d362ebd7d34b0ae59a614b5e3c (patch)
tree84bb8f6071e403525d68a04c6589eb633176e774 /src/live_effects/effect.cpp
parentUpdate to trunk (r13379) (diff)
parentupdate clang format spec for latest clangformat version (diff)
downloadinkscape-fa06e2deb21ba6d362ebd7d34b0ae59a614b5e3c.tar.gz
inkscape-fa06e2deb21ba6d362ebd7d34b0ae59a614b5e3c.zip
Update to experimental r13389
(bzr r13090.1.81)
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 3c13ee9a9..4157e14d7 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -57,6 +57,7 @@
#include "live_effects/lpe-bounding-box.h"
#include "live_effects/lpe-jointype.h"
#include "live_effects/lpe-taperstroke.h"
+#include "live_effects/lpe-envelope-perspective.h"
#include "xml/node-event-vector.h"
#include "sp-object.h"
@@ -144,6 +145,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
/* 0.91 */
{SIMPLIFY, N_("Simplify"), "simplify"},
{LATTICE2, N_("Lattice Deformation 2"), "lattice2"},
+ {ENVELOPE_PERSPECTIVE, N_("Envelope-Perspective"), "envelope-perspective"},
};
const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, sizeof(LPETypeData)/sizeof(*LPETypeData));
@@ -290,12 +292,16 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
break;
case TAPER_STROKE:
neweffect = static_cast<Effect*> ( new LPETaperStroke(lpeobj) );
+ break;
case SIMPLIFY:
neweffect = static_cast<Effect*> ( new LPESimplify(lpeobj) );
break;
case LATTICE2:
neweffect = static_cast<Effect*> ( new LPELattice2(lpeobj) );
break;
+ case ENVELOPE_PERSPECTIVE:
+ neweffect = static_cast<Effect*> ( new LPEEnvelopePerspective(lpeobj) );
+ break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);
neweffect = NULL;