Code

dyna-draw-context and eraser-context: replace check for empty path with 2geomified...
[inkscape.git] / src / dyna-draw-context.cpp
index eb54ce5fe395c7f7993218f1d055843267864400..e90a6143cf79e431d1899f7836729b8503c740c8 100644 (file)
@@ -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();