summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebrony@gmail.com>2014-07-30 15:53:05 +0000
committerLiam P. White <inkscapebrony@gmail.com>2014-07-30 15:53:05 +0000
commit5281d66b1a85e8f203c71798305f838fa3089dc2 (patch)
treecc3c8c61428eaa7308db24ee6c5b1c9c2fa5c2d3 /src/live_effects/effect.cpp
parentRefactoring of linejoin code (diff)
parentUpdate to trunk r13482 (diff)
downloadinkscape-5281d66b1a85e8f203c71798305f838fa3089dc2.tar.gz
inkscape-5281d66b1a85e8f203c71798305f838fa3089dc2.zip
Update to experimental r13452
(bzr r13090.1.95)
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 777d500e9..b86df015e 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -28,6 +28,7 @@
#include "live_effects/lpe-spiro.h"
#include "live_effects/lpe-lattice.h"
#include "live_effects/lpe-lattice2.h"
+#include "live_effects/lpe-roughen.h"
#include "live_effects/lpe-simplify.h"
#include "live_effects/lpe-envelope.h"
#include "live_effects/lpe-constructgrid.h"
@@ -134,6 +135,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
/* 0.91 */
{POWERSTROKE, N_("Power stroke"), "powerstroke"},
{CLONE_ORIGINAL, N_("Clone original path"), "clone_original"},
+ {ROUGHEN, N_("Roughen"), "roughen"},
{BSPLINE, N_("BSpline"), "bspline"},
{JOIN_TYPE, N_("Join type"), "join_type"},
{TAPER_STROKE, N_("Taper stroke"), "taper_stroke"},
@@ -306,6 +308,9 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case FILLET_CHAMFER:
neweffect = static_cast<Effect*> ( new LPEFilletChamfer(lpeobj) );
break;
+ case ROUGHEN:
+ neweffect = static_cast<Effect*> ( new LPERoughen(lpeobj) );
+ break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);
neweffect = NULL;