[PCB Print] Removed redundant code

This commit is contained in:
Salvador E. Tropea 2023-12-18 18:47:34 -03:00
parent 53aa79c29b
commit 8194760ff6
1 changed files with 0 additions and 8 deletions

View File

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