Fix Gerber generation for coord blocks with implicit op code

This commit is contained in:
Paulo Henrique Silva 2015-04-23 13:38:01 -03:00
parent 0c54a20263
commit a3cce62be7

View file

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