From 8194760ff663a82332c1624ba8d16daf0bd5bb73 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Mon, 18 Dec 2023 18:47:34 -0300 Subject: [PATCH] [PCB Print] Removed redundant code --- kibot/out_pcb_print.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index 215039b8..429a757f 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -1090,14 +1090,6 @@ class PCB_PrintOptions(VariantOptions): edge_layer.color = layer_id2color[edge_id] else: edge_layer.color = "#000000" - # Make visible only the layers we need - # This is very important when scaling, otherwise the results are controlled by the .kicad_prl (See #407) - if not self.individual_page_scaling: - vis_layers = LSET() - for p in self.pages: - for la in p.layers: - vis_layers.addLayer(la._id) - GS.board.SetVisibleLayers(vis_layers) # Generate the output, page by page pages = [] for n, p in enumerate(self.pages):