summaryrefslogtreecommitdiff
path: root/gerber/cam.py
diff options
context:
space:
mode:
Diffstat (limited to 'gerber/cam.py')
-rw-r--r--gerber/cam.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/gerber/cam.py b/gerber/cam.py
index cf06ec9..92ce83d 100644
--- a/gerber/cam.py
+++ b/gerber/cam.py
@@ -256,9 +256,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: