diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-06-29 13:15:53 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-06-29 13:15:53 +0000 |
| commit | 9d87f7d5d103acdfdb975a944bccac21abd3f23e (patch) | |
| tree | 937e6ff208eedc9ce63eacb32a7bfa7df348279f /src/pen-context.cpp | |
| parent | recognize HLineSegment and VLineSegment while looping through curves (diff) | |
| download | inkscape-9d87f7d5d103acdfdb975a944bccac21abd3f23e.tar.gz inkscape-9d87f7d5d103acdfdb975a944bccac21abd3f23e.zip | |
replace some spcurve->last_bpath calls with spcurve->is_empty
(bzr r6088)
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 78baacc76..9509efc69 100644 --- a/src/pen-context.cpp +++ b/src/pen-context.cpp @@ -871,8 +871,7 @@ pen_lastpoint_move (SPPenContext *const pc, gdouble x, gdouble y) return; // green - NArtBpath const * bpath = pc->green_curve->last_bpath(); - if (bpath) { + if (!pc->green_curve->is_empty()) { pc->green_curve->last_point_additive_move( Geom::Point(x,y) ); } else { // start anchor too |
