[PCB Print] Removed redundant code
This commit is contained in:
parent
53aa79c29b
commit
8194760ff6
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Reference in New Issue