summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-01-17 08:13:07 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-01-17 08:13:07 +0000
commitfe613f293b348f861a86c72ebffa7952da3f6d44 (patch)
tree87ceac2fb652023b55417df5c14a657092cd54e9 /src
parentFix a typo, a vim modeline, and a wrongly indented line. (diff)
downloadinkscape-fe613f293b348f861a86c72ebffa7952da3f6d44.tar.gz
inkscape-fe613f293b348f861a86c72ebffa7952da3f6d44.zip
fix stroke scaling for the objects with the default 1px width
(bzr r7)
Diffstat (limited to 'src')
-rw-r--r--src/sp-item.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp
index 20731a553..97aeb1877 100644
--- a/src/sp-item.cpp
+++ b/src/sp-item.cpp
@@ -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;