diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-06-12 13:22:47 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-06-12 13:22:47 +0000 |
| commit | 57b683ea00cc673901979d94b7a5374336e672c6 (patch) | |
| tree | c4a9e2220507cb3318b77496f42bce97c1e4459e /src/pen-context.cpp | |
| parent | New 'polylines only' mode in pen context; to be used later when LPEs are wait... (diff) | |
| download | inkscape-57b683ea00cc673901979d94b7a5374336e672c6.tar.gz inkscape-57b683ea00cc673901979d94b7a5374336e672c6.zip | |
Remove obsolete variable 'onlycurves' from pen-context.(h|cpp)
(bzr r5900)
Diffstat (limited to 'src/pen-context.cpp')
| -rw-r--r-- | src/pen-context.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/pen-context.cpp b/src/pen-context.cpp index e3ff835d5..49bf881a4 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -1128,8 +1128,7 @@ spdc_pen_set_subsequent_point(SPPenContext *const pc, NR::Point const p, bool st pc->red_curve->reset(); pc->red_curve->moveto(pc->p[0]); bool is_curve; - if ( (pc->onlycurves) - || ( pc->p[1] != pc->p[0] ) ) + if (pc->p[1] != pc->p[0]) { pc->red_curve->curveto(pc->p[1], p, p); is_curve = true; |
