diff options
Diffstat (limited to 'src/live_effects/effect.cpp')
| -rw-r--r-- | src/live_effects/effect.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index a7f4d5781..d13de7f9e 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -30,6 +30,7 @@ #include "live_effects/lpe-slant.h"
#include "live_effects/lpe-test-doEffect-stack.h"
#include "live_effects/lpe-gears.h"
+#include "live_effects/lpe-curvestitch.h"
namespace Inkscape {
@@ -42,7 +43,8 @@ const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = { {SLANT, _("Slant"), "slant"},
{DOEFFECTSTACK_TEST, _("doEffect stack test"), "doeffectstacktest"},
#endif
- {GEARS, _("Gears"), "gears"}
+ {GEARS, _("Gears"), "gears"},
+ {CURVE_STITCH, _("Curve stitching"), "curvestitching"},
};
const Util::EnumDataConverter<EffectType> LPETypeConverter(LPETypeData, INVALID_LPE);
@@ -65,6 +67,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj) case GEARS:
neweffect = (Effect*) new LPEGears(lpeobj);
break;
+ case CURVE_STITCH:
+ neweffect = (Effect*) new LPECurveStitch(lpeobj);
+ break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);
neweffect = NULL;
|
