Skip to content

Commit

Permalink
[PCB Print] Removed redundant code
Browse files Browse the repository at this point in the history
  • Loading branch information
set-soft committed Dec 18, 2023
1 parent 53aa79c commit 8194760
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions kibot/out_pcb_print.py
Original file line number Diff line number Diff line change
Expand Up @@ -1090,14 +1090,6 @@ def generate_output(self, output):
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):
Expand Down

0 comments on commit 8194760

Please sign in to comment.