diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2008-07-14 19:31:52 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2008-07-14 19:31:52 +0000 |
| commit | fe839efb9cceee33375f4d004e8357db8086f4b9 (patch) | |
| tree | 514be99d18a3bc5dd6abab81a1c1c4d0756a3d6c /src/dyna-draw-context.cpp | |
| parent | draw-context: replace check for empty path with 2geomified method of spcurve (diff) | |
| download | inkscape-fe839efb9cceee33375f4d004e8357db8086f4b9.tar.gz inkscape-fe839efb9cceee33375f4d004e8357db8086f4b9.zip | |
dyna-draw-context and eraser-context: replace check for empty path with 2geomified method of spcurve
(bzr r6301)
Diffstat (limited to 'src/dyna-draw-context.cpp')
| -rw-r--r-- | src/dyna-draw-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index eb54ce5fe..e90a6143c 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -1115,7 +1115,7 @@ fit_and_split(SPDynaDrawContext *dc, gboolean release) #endif /* Current calligraphic */ - if ( dc->cal1->get_length() == 0 || dc->cal2->get_length() == 0 ) { + if ( dc->cal1->is_empty() || dc->cal2->is_empty() ) { /* dc->npoints > 0 */ /* g_print("calligraphics(1|2) reset\n"); */ dc->cal1->reset(); |
