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 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: