summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorMartin Owens <doctormo@gmail.com>2017-06-07 13:36:32 +0000
committerMartin Owens <doctormo@gmail.com>2017-06-07 13:36:32 +0000
commit55d8078314051a33101bc01b5a1c0236dd679fe0 (patch)
tree1e04b4568e9428846a536555987f02733a2f7281 /src/live_effects/effect.cpp
parentMerge LPE bool from Michael Soegtrop (diff)
parentfixed enum order + added cpp files to POFILES.in (diff)
downloadinkscape-55d8078314051a33101bc01b5a1c0236dd679fe0.tar.gz
inkscape-55d8078314051a33101bc01b5a1c0236dd679fe0.zip
Merge in whole of embroidery branch
(bzr r15703.1.35)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 9e1555c26..e5a879241 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -62,6 +62,7 @@
#include "live_effects/lpe-test-doEffect-stack.h"
#include "live_effects/lpe-text_label.h"
#include "live_effects/lpe-vonkoch.h"
+#include "live_effects/lpe-embrodery-stitch.h"
#include "live_effects/lpe-bool.h"
#include "xml/node-event-vector.h"
@@ -126,6 +127,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
{MEASURE_LINE, N_("Measure Line"), "measure_line"},
{FILLET_CHAMFER, N_("Fillet/Chamfer"), "fillet_chamfer"},
{BOOL_OP, N_("Boolean operation"), "bool_op"},
+ {EMBRODERY_STITCH, N_("Embrodery stitch"), "embrodery_stitch"},
#ifdef LPE_ENABLE_TEST_EFFECTS
{DOEFFECTSTACK_TEST, N_("doEffect stack test"), "doeffectstacktest"},
{ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"},
@@ -166,6 +168,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
{
Effect* neweffect = NULL;
switch (lpenr) {
+ case EMBRODERY_STITCH:
+ neweffect = static_cast<Effect*> ( new LPEEmbroderyStitch(lpeobj) );
+ break;
case BOOL_OP:
neweffect = static_cast<Effect*> ( new LPEBool(lpeobj) );
break;