summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-08 18:02:31 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-08 18:02:31 +0000
commit9b831fafeda08e4ae67fe518f7934dfa81b51c64 (patch)
tree5a2265688e1a25fe4be94dbda2cb5f19bb910122 /src/live_effects/effect.cpp
parentrename LPEPathAlongPath -> LPEBendPath (diff)
downloadinkscape-9b831fafeda08e4ae67fe518f7934dfa81b51c64.tar.gz
inkscape-9b831fafeda08e4ae67fe518f7934dfa81b51c64.zip
rename LPESkeletalStrokes -> LPEPatternAlongPath
(bzr r5386)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index 4b3ee5b0f..51a59f1a1 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -32,7 +32,7 @@
// include effects:
-#include "live_effects/lpe-skeletalstrokes.h"
+#include "live_effects/lpe-patternalongpath.h"
#include "live_effects/lpe-bendpath.h"
#include "live_effects/lpe-sketch.h"
#include "live_effects/lpe-vonkoch.h"
@@ -53,7 +53,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"}
{BEND_PATH, N_("Bend"), "bend_path"},
- {SKELETAL_STROKES, N_("Pattern Along Path"), "skeletal"},
+ {PATTERN_ALONG_PATH, N_("Pattern Along Path"), "skeletal"}, // for historic reasons, this effect is called skeletal(strokes) in Inkscape:SVG
{SKETCH, N_("Sketch"), "sketch"},
{VONKOCH, N_("VonKoch"), "vonkoch"},
{KNOT, N_("Knot"), "knot"},
@@ -73,8 +73,8 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
{
Effect* neweffect = NULL;
switch (lpenr) {
- case SKELETAL_STROKES:
- neweffect = (Effect*) new LPESkeletalStrokes(lpeobj);
+ case PATTERN_ALONG_PATH:
+ neweffect = (Effect*) new LPEPatternAlongPath(lpeobj);
break;
case BEND_PATH:
neweffect = (Effect*) new LPEBendPath(lpeobj);