Code

spdc_flush_white(SPDrawContext *dc, SPCurve *gc) now uses curve->get_pathvector inste...
authorjohanengelen <johanengelen@users.sourceforge.net>
Fri, 6 Jun 2008 23:18:58 +0000 (23:18 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Fri, 6 Jun 2008 23:18:58 +0000 (23:18 +0000)
src/draw-context.cpp

index 33c3898a735168100cbd9296580422efe038eda7..8858a4560e94334b6cd87217fdff26bfc95b7632 100644 (file)
@@ -551,7 +551,7 @@ spdc_flush_white(SPDrawContext *dc, SPCurve *gc)
             sp_desktop_apply_style_tool(desktop, repr, tool_name(dc), false);
         }
 
-        gchar *str = sp_svg_write_path(SP_CURVE_BPATH(c));
+        gchar *str = sp_svg_write_path( c->get_pathvector() );
         g_assert( str != NULL );
         if (has_lpe)
             repr->setAttribute("inkscape:original-d", str);