diff options
| author | MenTaLguY <mental@rydia.net> | 2006-09-05 01:58:32 +0000 |
|---|---|---|
| committer | mental <mental@users.sourceforge.net> | 2006-09-05 01:58:32 +0000 |
| commit | 71becde71fedcf3d099f564782a65dd9ba839efe (patch) | |
| tree | 6518123fc67e31fc0b6c12273fa64672f4670e24 /src/dyna-draw-context.cpp | |
| parent | make calligraphy tool cap rounding work better with nonzero fixity (diff) | |
| download | inkscape-71becde71fedcf3d099f564782a65dd9ba839efe.tar.gz inkscape-71becde71fedcf3d099f564782a65dd9ba839efe.zip | |
comments for later
(bzr r1691)
Diffstat (limited to 'src/dyna-draw-context.cpp')
| -rw-r--r-- | src/dyna-draw-context.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index 34f84bb88..5b6b75fa5 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -830,7 +830,8 @@ fit_and_split(SPDynaDrawContext *dc, gboolean release) for (NR::Point *bp2 = b2 + BEZIER_SIZE * ( nb2 - 1 ); bp2 >= b2; bp2 -= BEZIER_SIZE) { sp_curve_curveto(dc->currentcurve, bp2[2], bp2[1], bp2[0]); } - if (!dc->segments) { + // FIXME: dc->segments is always NULL at this point?? + if (!dc->segments) { // first segment add_cap(dc->currentcurve, b2[1], b2[0], b1[0], b1[1], dc->cap_rounding); } sp_curve_closepath(dc->currentcurve); |
