summaryrefslogtreecommitdiffstats
path: root/src/splivarot.cpp
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-12 15:13:08 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-03-12 15:13:08 +0000
commit309112136c71cbb4f62fb850c6f6f12e32a67a8e (patch)
tree58e867ed84ddbc721113b948d4b6365cef02338a /src/splivarot.cpp
parentReverted swatches (diff)
parentChange stroke-dasharray and stroke-dashoffset handling to match other propert... (diff)
downloadinkscape-309112136c71cbb4f62fb850c6f6f12e32a67a8e.tar.gz
inkscape-309112136c71cbb4f62fb850c6f6f12e32a67a8e.zip
Updated to trunk
(bzr r13090.1.24)
Diffstat (limited to 'src/splivarot.cpp')
-rw-r--r--src/splivarot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/splivarot.cpp b/src/splivarot.cpp
index 1eab73b62..c800ace0b 100644
--- a/src/splivarot.cpp
+++ b/src/splivarot.cpp
@@ -1004,7 +1004,7 @@ Geom::PathVector* item_outline(SPItem const *item, bool bbox_only)
Path *res = new Path;
res->SetBackData(false);
- if (i_style->stroke_dash.n_dash) {
+ if (!i_style->stroke_dasharray.values.empty()) {
// For dashed strokes, use Stroke method, because Outline can't do dashes
// However Stroke adds lots of extra nodes _or_ makes the path crooked, so consider this a temporary workaround
@@ -1273,7 +1273,7 @@ sp_selected_path_outline(SPDesktop *desktop)
Path *res = new Path;
res->SetBackData(false);
- if (i_style->stroke_dash.n_dash) {
+ if (!i_style->stroke_dasharray.values.empty()) {
// For dashed strokes, use Stroke method, because Outline can't do dashes
// However Stroke adds lots of extra nodes _or_ makes the path crooked, so consider this a temporary workaround