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, 1 insertions, 2 deletions
diff --git a/gerber/cam.py b/gerber/cam.py
index 0e19b05..c5b8938 100644
--- a/gerber/cam.py
+++ b/gerber/cam.py
@@ -267,8 +267,7 @@ class CamFile(object):
filename : string <optional>
If provided, save the rendered image to `filename`
"""
-
- ctx.set_bounds(self.bounding_box)
+ ctx.set_bounds(self.bounds)
ctx._paint_background()
ctx.invert = invert
ctx._new_render_layer()