diff options
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 125d22c3f..6ae30fe4c 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -45,6 +45,7 @@ #include "live_effects/lpe-spiro.h" #include "live_effects/lpe-constructgrid.h" #include "live_effects/lpe-envelope.h" +#include "live_effects/lpe-perp_bisector.h" // end of includes #include "nodepath.h" @@ -70,6 +71,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = { {SPIRO, N_("Spiro spline"), "spiro"}, {CONSTRUCT_GRID, N_("Construct grid"), "construct_grid"}, {ENVELOPE, N_("Envelope Deformation"), "envelope"}, + {PERP_BISECTOR, N_("Perpendicular bisector"), "perp_bisector"}, }; const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE); @@ -119,6 +121,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case ENVELOPE: neweffect = static_cast<Effect*> ( new LPEEnvelope(lpeobj) ); break; + case PERP_BISECTOR: + neweffect = static_cast<Effect*> ( new LPEPerpBisector(lpeobj) ); + break; default: g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr); neweffect = NULL; |
