summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJF Barraud <jf.barraud@gmail.com>2008-11-26 20:56:08 +0000
committerjfbarraud <jfbarraud@users.sourceforge.net>2008-11-26 20:56:08 +0000
commitb6c8f998b13d55a71de0d7ce0a541fd5233fcf4f (patch)
tree33881e87d4c1200530767fb06bfeaebaa3b07ec3 /src/live_effects/effect.cpp
parentFix bug #299414: a return statement in unitTangentAt() got lost in rev. 20205! (diff)
downloadinkscape-b6c8f998b13d55a71de0d7ce0a541fd5233fcf4f.tar.gz
inkscape-b6c8f998b13d55a71de0d7ce0a541fd5233fcf4f.zip
renamed lpe-hatches to lpe-rough-hatches.
(bzr r6905)
Diffstat (limited to 'src/live_effects/effect.cpp')
-rw-r--r--src/live_effects/effect.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp
index bb5f0c554..2a316a0bb 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -42,7 +42,7 @@
#include "live_effects/lpe-sketch.h"
#include "live_effects/lpe-vonkoch.h"
#include "live_effects/lpe-knot.h"
-#include "live_effects/lpe-hatches.h"
+#include "live_effects/lpe-rough-hatches.h"
#include "live_effects/lpe-test-doEffect-stack.h"
#include "live_effects/lpe-gears.h"
#include "live_effects/lpe-curvestitch.h"
@@ -73,7 +73,7 @@ namespace Inkscape {
namespace LivePathEffect {
const Util::EnumData<EffectType> LPETypeData[] = {
- // {constant defined in effect.h, N_("name of your effect"), "name of your effect in SVG"}
+ // {constant defined in effect-enum.h, N_("name of your effect"), "name of your effect in SVG"}
{ANGLE_BISECTOR, N_("Angle bisector"), "angle_bisector"},
{BEND_PATH, N_("Bend"), "bend_path"},
{BOOLOPS, N_("Boolops"), "boolops"},
@@ -100,7 +100,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
{COPY_ROTATE, N_("Rotate copies"), "copy_rotate"},
{RULER, N_("Ruler"), "ruler"},
{SKETCH, N_("Sketch"), "sketch"},
- {HATCHES, N_("Hatches"), "hatches"},
+ {ROUGH_HATCHES, N_("Hatches (rough)"), "rough_hatches"},
{SPIRO, N_("Spiro spline"), "spiro"},
{CURVE_STITCH, N_("Stitch Sub-Paths"), "curvestitching"},
{TANGENT_TO_CURVE, N_("Tangent to curve"), "tangent_to_curve"},
@@ -139,8 +139,8 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case SKETCH:
neweffect = static_cast<Effect*> ( new LPESketch(lpeobj) );
break;
- case HATCHES:
- neweffect = static_cast<Effect*> ( new LPEHatches(lpeobj) );
+ case ROUGH_HATCHES:
+ neweffect = static_cast<Effect*> ( new LPERoughHatches(lpeobj) );
break;
case VONKOCH:
neweffect = static_cast<Effect*> ( new LPEVonKoch(lpeobj) );