summaryrefslogtreecommitdiff
path: root/gerbonara/layers.py
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-07-03 21:47:40 +0200
committerjaseg <git@jaseg.de>2022-07-03 21:47:40 +0200
commit163c30663fd9154207b6b4a77aa2adc6a559542f (patch)
tree2e6a205ad0b6b8b5414d71d6027e5d931a9faf89 /gerbonara/layers.py
parentf558f66bc0cf90f587b346697e1fe03f03d5214f (diff)
downloadgerbonara-163c30663fd9154207b6b4a77aa2adc6a559542f.tar.gz
gerbonara-163c30663fd9154207b6b4a77aa2adc6a559542f.tar.bz2
gerbonara-163c30663fd9154207b6b4a77aa2adc6a559542f.zip
Pretty SVG export: fix drill layer
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r--gerbonara/layers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/layers.py b/gerbonara/layers.py
index f53b63c..ca5e207 100644
--- a/gerbonara/layers.py
+++ b/gerbonara/layers.py
@@ -548,7 +548,7 @@ class LayerStack:
for i, layer in enumerate(self.drill_layers):
tags.append(tag('g', list(layer.instance.svg_objects(svg_unit=svg_unit, fg='white', bg='black', tag=Tag)),
- id=f'l-drill-{i}', **inkscape_attrs(f'drill-{i}')))
+ id=f'l-drill-{i}', filter=f'url(#f-drill)', **inkscape_attrs(f'drill-{i}')))
if self.outline:
tags.append(tag('g', list(self.outline.instance.svg_objects(svg_unit=svg_unit, fg='white', bg='black', tag=Tag)),