moved vias delete print function under debug section
This commit is contained in:
@ -216,11 +216,12 @@ class FillArea:
|
|||||||
|
|
||||||
if self.delete_vias:
|
if self.delete_vias:
|
||||||
for module in self.pcb.GetModules():
|
for module in self.pcb.GetModules():
|
||||||
|
if self.debug:
|
||||||
print("* Deleting module: %s" % module.GetValue())
|
print("* Deleting module: %s" % module.GetValue())
|
||||||
if module.GetValue() == "AUTO_VIA":
|
if module.GetValue() == "AUTO_VIA":
|
||||||
self.pcb.DeleteNative(module)
|
self.pcb.DeleteNative(module)
|
||||||
self.RefillBoardAreas()
|
self.RefillBoardAreas()
|
||||||
return
|
return # no need to run the rest of logic
|
||||||
|
|
||||||
lboard = self.pcb.ComputeBoundingBox()
|
lboard = self.pcb.ComputeBoundingBox()
|
||||||
rectangle = []
|
rectangle = []
|
||||||
|
Reference in New Issue
Block a user