summaryrefslogtreecommitdiff
path: root/gerber/cam.py
diff options
context:
space:
mode:
authorHamilton Kibbe <hamilton.kibbe@gmail.com>2015-07-22 22:13:09 -0400
committerHamilton Kibbe <hamilton.kibbe@gmail.com>2015-07-22 22:13:09 -0400
commit39726e3936c5fa5c50158727e8eb7f5d01cb1b49 (patch)
tree2a8a4467a6728599c1df15e4b13330bc86d31dab /gerber/cam.py
parentb3f6ec558ca35a19bd60440f2a114eb98c0a4263 (diff)
downloadgerbonara-39726e3936c5fa5c50158727e8eb7f5d01cb1b49.tar.gz
gerbonara-39726e3936c5fa5c50158727e8eb7f5d01cb1b49.tar.bz2
gerbonara-39726e3936c5fa5c50158727e8eb7f5d01cb1b49.zip
Fix multiple layer issue in cairo-unification branch (see #33)
Diffstat (limited to 'gerber/cam.py')
-rw-r--r--gerber/cam.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/cam.py b/gerber/cam.py
index 804e366..0a68b23 100644
--- a/gerber/cam.py
+++ b/gerber/cam.py
@@ -253,8 +253,8 @@ class CamFile(object):
filename : string <optional>
If provided, save the rendered image to `filename`
"""
+ ctx.set_bounds(self.bounds)
ctx._paint_background()
-
if ctx.invert:
ctx._paint_inverted_layer()