Code

fix stroke scaling for the objects with the default 1px width
authorbuliabyak <buliabyak@users.sourceforge.net>
Tue, 17 Jan 2006 08:13:07 +0000 (08:13 +0000)
committerbuliabyak <buliabyak@users.sourceforge.net>
Tue, 17 Jan 2006 08:13:07 +0000 (08:13 +0000)
src/sp-item.cpp

index 20731a5533dbd8d06675464f4e17c843ac0df1a7..97aeb187720916a0403d1baf4377ef6a9a2d3d90 100644 (file)
@@ -889,6 +889,7 @@ sp_item_adjust_stroke (SPItem *item, gdouble ex)
     if (style && style->stroke.type != SP_PAINT_TYPE_NONE && !NR_DF_TEST_CLOSE (ex, 1.0, NR_EPSILON)) {
 
         style->stroke_width.computed *= ex;
+        style->stroke_width.set = TRUE;
 
         if (style->stroke_dash.n_dash != 0) {
             int i;