From 586cb25f967bbac8815aba77781d21f5d0763b89 Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Tue, 8 Apr 2008 17:50:06 +0000 Subject: rename LPEPathAlongPath -> LPEBendPath (bzr r5385) --- src/live_effects/effect.cpp | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/live_effects/effect.cpp') 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 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: -- cgit v1.2.3