summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-08 17:50:06 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-08 17:50:06 +0000
commit586cb25f967bbac8815aba77781d21f5d0763b89 (patch)
treeddf2afe639c6e9d591555d88739bec1f225c951d /src/live_effects/effect.cpp
parentsince marker size depends on stroke width, write stroke width if there's no s... (diff)
downloadinkscape-586cb25f967bbac8815aba77781d21f5d0763b89.tar.gz
inkscape-586cb25f967bbac8815aba77781d21f5d0763b89.zip
rename LPEPathAlongPath -> LPEBendPath
(bzr r5385)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 73f6e3dec..4b3ee5b0f 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -33,8 +33,7 @@
// include effects:
#include "live_effects/lpe-skeletalstrokes.h"
-#include "live_effects/lpe-pathalongpath.h"
-//here!!
+#include "live_effects/lpe-bendpath.h"
#include "live_effects/lpe-sketch.h"
#include "live_effects/lpe-vonkoch.h"
#include "live_effects/lpe-knot.h"
@@ -53,7 +52,7 @@ namespace LivePathEffect {
const Util::EnumData<EffectType> LPETypeData[INVALID_LPE] = {
// {constant defined in effect.h, N_("name of your effect"), "name of your effect in SVG"}
- {PATH_ALONG_PATH, N_("Bend Path"), "bend_path"},
+ {BEND_PATH, N_("Bend"), "bend_path"},
{SKELETAL_STROKES, N_("Pattern Along Path"), "skeletal"},
{SKETCH, N_("Sketch"), "sketch"},
{VONKOCH, N_("VonKoch"), "vonkoch"},
@@ -77,8 +76,8 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case SKELETAL_STROKES:
neweffect = (Effect*) new LPESkeletalStrokes(lpeobj);
break;
- case PATH_ALONG_PATH:
- neweffect = (Effect*) new LPEPathAlongPath(lpeobj);
+ case BEND_PATH:
+ neweffect = (Effect*) new LPEBendPath(lpeobj);
break;
//here!!
case SKETCH: