diff options
| author | Alvin Penner <penner@vaxxine.com> | 2011-07-21 00:24:46 +0000 |
|---|---|---|
| committer | apenner <penner@vaxxine.com> | 2011-07-21 00:24:46 +0000 |
| commit | 67c7f9c132dabd5f5eaad73c20265c9dbae958fb (patch) | |
| tree | 16b26392b09c47281a6124349e7bd4b67017134e | |
| parent | Minor UI fix (diff) | |
| download | inkscape-67c7f9c132dabd5f5eaad73c20265c9dbae958fb.tar.gz inkscape-67c7f9c132dabd5f5eaad73c20265c9dbae958fb.zip | |
Extensions. dxf_outlines.py. do not attempt to parse a url color reference (Bug 810503)
Fixed bugs:
- https://launchpad.net/bugs/810503
(bzr r10485)
| -rwxr-xr-x | share/extensions/dxf_outlines.py | 2 |
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 |
