diff options
author | Garret Fick <garret@ficksworkshop.com> | 2016-07-17 21:04:15 +0800 |
---|---|---|
committer | Garret Fick <garret@ficksworkshop.com> | 2016-07-17 21:04:15 +0800 |
commit | 34f20ee90fc54ca046460bfae06bce927870536f (patch) | |
tree | f29e30bf0747b45cab5545ad4d49ff07518aad00 /gerber/cam.py | |
parent | f0585baefa54c5cd891ba04c81053956b1a59977 (diff) | |
parent | af5541ac93b222c05229ee05c9def8dbae5f6e25 (diff) | |
download | gerbonara-34f20ee90fc54ca046460bfae06bce927870536f.tar.gz gerbonara-34f20ee90fc54ca046460bfae06bce927870536f.tar.bz2 gerbonara-34f20ee90fc54ca046460bfae06bce927870536f.zip |
Manually merge af5541ac93b222c05229ee05c9def8dbae5f6e25
Diffstat (limited to 'gerber/cam.py')
-rw-r--r-- | gerber/cam.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/cam.py b/gerber/cam.py index ae96474..28918cb 100644 --- a/gerber/cam.py +++ b/gerber/cam.py @@ -262,9 +262,10 @@ class CamFile(object): ctx.set_bounds(self.bounds) ctx._paint_background() + if invert: ctx.invert = True - ctx._paint_inverted_layer() + ctx._clear_mask() for p in self.primitives: ctx.render(p) if invert: |