Code

comments for later
authormental <mental@users.sourceforge.net>
Tue, 5 Sep 2006 01:58:32 +0000 (01:58 +0000)
committermental <mental@users.sourceforge.net>
Tue, 5 Sep 2006 01:58:32 +0000 (01:58 +0000)
src/dyna-draw-context.cpp

index 34f84bb88de900adac1837c06a63dc958a8191dd..5b6b75fa541a14cc27b9ad3d8ab10b227f2e8457 100644 (file)
@@ -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);