diff options
| author | Alvin Penner <penner@vaxxine.com> | 2015-01-15 19:33:00 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2015-01-15 19:33:00 +0000 |
| commit | a8479d867d60fe034bf5c02d3154b9386d94521b (patch) | |
| tree | ff16134a31179218e45bc447fdd83b8b7ec2e7f4 /src/sp-item.cpp | |
| parent | during copy and paste, scale stock symbols from units of 'px' to 'document-un... (diff) | |
| download | inkscape-a8479d867d60fe034bf5c02d3154b9386d94521b.tar.gz inkscape-a8479d867d60fe034bf5c02d3154b9386d94521b.zip | |
allow stroke_width to be scaled even if stroke color is not defined. (Bug 1365451 and Bug 1409458)
Fixed bugs:
- https://launchpad.net/bugs/1365451
(bzr r13854)
Diffstat (limited to 'src/sp-item.cpp')
| -rw-r--r-- | src/sp-item.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-item.cpp b/src/sp-item.cpp index fbb76e971..5d181b80a 100644 --- a/src/sp-item.cpp +++ b/src/sp-item.cpp @@ -1299,7 +1299,7 @@ void SPItem::adjust_stroke( gdouble ex ) SPStyle *style = this->style; - if (style && !style->stroke.isNone() && !Geom::are_near(ex, 1.0, Geom::EPSILON)) { + if (style && !Geom::are_near(ex, 1.0, Geom::EPSILON)) { style->stroke_width.computed *= ex; style->stroke_width.set = TRUE; |
