diff options
-rw-r--r-- | gerber/render.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gerber/render.py b/gerber/render.py index c6f086a..585b340 100644 --- a/gerber/render.py +++ b/gerber/render.py @@ -117,7 +117,7 @@ class GerberContext(object): def resolve(self, x, y): x, y = self.coord_format.resolve(x, y) - return x or self.x, y or self.y + return x if x is not None else self.x, y if y is not None else self.y def define_aperture(self, d, shape, modifiers): pass |