summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gerber/rs274x.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/gerber/rs274x.py b/gerber/rs274x.py
index 6069c03..606d27f 100644
--- a/gerber/rs274x.py
+++ b/gerber/rs274x.py
@@ -455,6 +455,9 @@ class GerberParser(object):
if stmt.op:
self.op = stmt.op
+ else:
+ # no implicit op allowed, force here if coord block doesn't have it
+ stmt.op = self.op
if self.op == "D01":
if self.region_mode == 'on':