From 5f27d7bfcf38ca78237b510bc50b217ad0179fa3 Mon Sep 17 00:00:00 2001 From: Cristi Marius Tiutiu Date: Mon, 12 Jun 2017 14:24:22 +0300 Subject: [PATCH] moved vias delete print function under debug section --- ViaStitching/FillArea.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ViaStitching/FillArea.py b/ViaStitching/FillArea.py index db363aa..1fabd6a 100755 --- a/ViaStitching/FillArea.py +++ b/ViaStitching/FillArea.py @@ -216,11 +216,12 @@ class FillArea: if self.delete_vias: for module in self.pcb.GetModules(): - print("* Deleting module: %s" % module.GetValue()) + if self.debug: + print("* Deleting module: %s" % module.GetValue()) if module.GetValue() == "AUTO_VIA": self.pcb.DeleteNative(module) self.RefillBoardAreas() - return + return # no need to run the rest of logic lboard = self.pcb.ComputeBoundingBox() rectangle = []