summaryrefslogtreecommitdiffstats
path: root/src/live_effects/effect.cpp
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-08-19 16:12:52 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-08-19 16:12:52 +0000
commitb073ae14af73c121287927890951cbcebd7b90b9 (patch)
tree937041cea1949f3ebb511013a014e0e3d53be959 /src/live_effects/effect.cpp
parentdo not try to run mac build on other people's build (with no mac runner) (diff)
downloadinkscape-b073ae14af73c121287927890951cbcebd7b90b9.tar.gz
inkscape-b073ae14af73c121287927890951cbcebd7b90b9.zip
Change from Measure Line LPE to Measure Segments LPE
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 c817f5caa..b2ba0acdc 100644
--- a/src/live_effects/effect.cpp
+++ b/src/live_effects/effect.cpp
@@ -39,7 +39,7 @@
#include "live_effects/lpe-lattice2.h"
#include "live_effects/lpe-lattice.h"
#include "live_effects/lpe-line_segment.h"
-#include "live_effects/lpe-measure-line.h"
+#include "live_effects/lpe-measure-segments.h"
#include "live_effects/lpe-mirror_symmetry.h"
#include "live_effects/lpe-offset.h"
#include "live_effects/lpe-parallel.h"
@@ -126,7 +126,7 @@ const Util::EnumData<EffectType> LPETypeData[] = {
{ELLIPSE_5PTS, N_("Ellipse by 5 points"), "ellipse_5pts"},
{BOUNDING_BOX, N_("Bounding Box"), "bounding_box"},
/* 9.93 */
- {MEASURE_LINE, N_("Measure Line"), "measure_line"},
+ {MEASURE_SEGMENTS, N_("Measure Segments"), "measure_segments"},
{FILLET_CHAMFER, N_("Fillet/Chamfer"), "fillet_chamfer"},
{BOOL_OP, N_("Boolean operation"), "bool_op"},
{EMBRODERY_STITCH, N_("Embrodery stitch"), "embrodery_stitch"},
@@ -331,8 +331,8 @@ Effect::New(EffectType lpenr, LivePathEffectObject *lpeobj)
case TRANSFORM_2PTS:
neweffect = static_cast<Effect*> ( new LPETransform2Pts(lpeobj) );
break;
- case MEASURE_LINE:
- neweffect = static_cast<Effect*> ( new LPEMeasureLine(lpeobj) );
+ case MEASURE_SEGMENTS:
+ neweffect = static_cast<Effect*> ( new LPEMeasureSegments(lpeobj) );
break;
default:
g_warning("LivePathEffect::Effect::New called with invalid patheffect type (%d)", lpenr);