diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2017-06-07 11:09:49 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2017-06-07 11:09:49 +0000 |
| commit | e653cfebf985eef47e2a643d4eb6faefb741a848 (patch) | |
| tree | 26685a3ce48c06b1f846ad25f8f3b500cde638f7 /src/live_effects/effect.cpp | |
| parent | update to trunk (diff) | |
| parent | Merge LPE bool from Michael Soegtrop (diff) | |
| download | inkscape-e653cfebf985eef47e2a643d4eb6faefb741a848.tar.gz inkscape-e653cfebf985eef47e2a643d4eb6faefb741a848.zip | |
Update to trunk
(bzr r15721)
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 faf1d14ab..256530a38 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-bool.h" #include "xml/node-event-vector.h" #include "message-stack.h" @@ -126,6 +127,7 @@ const Util::EnumData<EffectType> LPETypeData[] = { /* 9.93 */ {MEASURE_LINE, N_("Measure Line"), "measure_line"}, {FILLET_CHAMFER, N_("Fillet/Chamfer"), "fillet_chamfer"}, + {BOOL_OP, N_("Boolean operation"), "bool_op"}, {POWERCLIP, N_("Power clip"), "powerclip"}, {POWERMASK, N_("Power mask"), "powermask"}, #ifdef LPE_ENABLE_TEST_EFFECTS @@ -168,6 +170,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) { Effect* neweffect = NULL; switch (lpenr) { + case BOOL_OP: + neweffect = static_cast<Effect*> ( new LPEBool(lpeobj) ); + break; case PATTERN_ALONG_PATH: neweffect = static_cast<Effect*> ( new LPEPatternAlongPath(lpeobj) ); break; |
