summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xshare/extensions/dxf_outlines.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/extensions/dxf_outlines.py b/share/extensions/dxf_outlines.py
index 6dd0de477..fc8cc0ae5 100755
--- a/share/extensions/dxf_outlines.py
+++ b/share/extensions/dxf_outlines.py
@@ -161,7 +161,7 @@ class MyEffect(inkex.Effect):
if style:
style = simplestyle.parseStyle(style)
if style.has_key('stroke'):
- if style['stroke'] and style['stroke'] != 'none':
+ if style['stroke'] and style['stroke'] != 'none' and style['stroke'][0:3] != 'url':
rgb = simplestyle.parseColor(style['stroke'])
hsl = coloreffect.ColorEffect.rgb_to_hsl(coloreffect.ColorEffect(),rgb[0]/255.0,rgb[1]/255.0,rgb[2]/255.0)
self.color = 7 # default is black