Merge branch 'master' into remove-dead-code
This commit is contained in:
@@ -124,7 +124,7 @@ class CHAMFERGate(PathBaseGate):
|
||||
class DRILLGate(PathBaseGate):
|
||||
def allow(self, doc, obj, sub):
|
||||
PathLog.debug("obj: {} sub: {}".format(obj, sub))
|
||||
if not hasattr(obj, "Shape") and sub:
|
||||
if not hasattr(obj, "Shape"):
|
||||
return False
|
||||
shape = obj.Shape
|
||||
subobj = shape.getElement(sub)
|
||||
|
||||
Reference in New Issue
Block a user