summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2017-06-07 19:36:40 +0000
committerjabiertxof <info@marker.es>2017-06-07 19:36:40 +0000
commit946007a3b1e40321fa916150f77e38d37ed65620 (patch)
tree110d0a8b7c0b5b86a52610b124f2b714bd4e4a7f /src/live_effects/effect.cpp
parentWorking on powermask LPE (diff)
parentTranslation. Romanian translation update by Cristian Secară. (diff)
downloadinkscape-946007a3b1e40321fa916150f77e38d37ed65620.tar.gz
inkscape-946007a3b1e40321fa916150f77e38d37ed65620.zip
Update to trunk
(bzr r15723)
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 c4a437ff6..d555c277b 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -64,6 +64,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"
@@ -128,6 +129,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"},
{POWERCLIP, N_("Power clip"), "powerclip"},
{POWERMASK, N_("Power mask"), "powermask"},
#ifdef LPE_ENABLE_TEST_EFFECTS
@@ -170,6 +172,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;