diff options
Diffstat (limited to 'gerbonara/layers.py')
-rw-r--r-- | gerbonara/layers.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerbonara/layers.py b/gerbonara/layers.py index daed004..858dbe4 100644 --- a/gerbonara/layers.py +++ b/gerbonara/layers.py @@ -828,7 +828,7 @@ class LayerStack: warnings.warn(f'Layer "{side} {use}" not found. Found layers: {", ".join(side + " " + use for side, use in self.graphic_layers)}')
continue
- layer = self[(side, use)]
+ layer = self[(side, use)].instance
fg, bg = ('white', 'black') if use != 'mask' else ('black', 'white')
default_fill = {'copper': fg, 'mask': fg, 'silk': 'none', 'paste': fg}[use]
|