summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
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 2a90687f1..2e33098d2 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -46,6 +46,7 @@
#include "live_effects/lpe-constructgrid.h"
#include "live_effects/lpe-envelope.h"
#include "live_effects/lpe-perp_bisector.h"
+#include "live_effects/lpe-tangent_to_curve.h"
// end of includes
#include "nodepath.h"
@@ -72,6 +73,7 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = {
{CONSTRUCT_GRID, N_("Construct grid"), "construct_grid"},
{ENVELOPE, N_("Envelope Deformation"), "envelope"},
{PERP_BISECTOR, N_("Perpendicular bisector"), "perp_bisector"},
+ {TANGENT_TO_CURVE, N_("Tangent to curve"), "tangent_to_curve"},
};
const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE);
@@ -124,6 +126,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case PERP_BISECTOR:
neweffect = static_cast<Effect*> ( new LPEPerpBisector(lpeobj) );
break;
+ case TANGENT_TO_CURVE:
+ neweffect = static_cast<Effect*> ( new LPETangentToCurve(lpeobj) );
+ break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);
neweffect = NULL;