summaryrefslogtreecommitdiffstats
path: root/src/live_effects/lpe-line_segment.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-08-18 16:22:33 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-08-18 16:22:33 +0000
commit34dc05c290b2436f4c23c8c86f048bc1d0f7d6e2 (patch)
tree14be27056b9c6c3aef01a771bfe9a6d3362de12d /src/live_effects/lpe-line_segment.cpp
parentsince all values are 0..1, shifting gamma up must use power<1 so that the val... (diff)
downloadinkscape-34dc05c290b2436f4c23c8c86f048bc1d0f7d6e2.tar.gz
inkscape-34dc05c290b2436f4c23c8c86f048bc1d0f7d6e2.zip
Fix end type combo box
(bzr r6696)
Diffstat (limited to 'src/live_effects/lpe-line_segment.cpp')
-rw-r--r--src/live_effects/lpe-line_segment.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/live_effects/lpe-line_segment.cpp b/src/live_effects/lpe-line_segment.cpp
index fa8c6dc03..9a7d3cfbc 100644
--- a/src/live_effects/lpe-line_segment.cpp
+++ b/src/live_effects/lpe-line_segment.cpp
@@ -24,10 +24,10 @@ namespace Inkscape {
namespace LivePathEffect {
static const Util::EnumData<EndType> EndTypeData[] = {
- {END_OPEN_BOTH , N_("Open both"), "open_both"},
- {END_OPEN_LEFT , N_("Open left"), "open_left"},
- {END_OPEN_RIGHT , N_("Open right"), "open_right"},
{END_CLOSED , N_("Closed"), "closed"},
+ {END_OPEN_INITIAL , N_("Open start"), "open_start"},
+ {END_OPEN_FINAL , N_("Open end"), "open_end"},
+ {END_OPEN_BOTH , N_("Open both"), "open_both"},
};
static const Util::EnumDataConverter<EndType> EndTypeConverter(EndTypeData, sizeof(EndTypeData)/sizeof(*EndTypeData));
@@ -66,11 +66,11 @@ LPELineSegment::doEffect_path (std::vector<Geom::Path> const & path_in)
return path_in;
}
- if (end_type == END_OPEN_RIGHT || end_type == END_OPEN_BOTH) {
+ if (end_type == END_OPEN_INITIAL || end_type == END_OPEN_BOTH) {
A = intersections[0];
}
- if (end_type == END_OPEN_LEFT || end_type == END_OPEN_BOTH) {
+ if (end_type == END_OPEN_FINAL || end_type == END_OPEN_BOTH) {
B = intersections[1];
}