[PCB Print][Fixed] Missing edge cuts in the list of visible layers
- When forced - This is needed and helps to avoid hitting a bug in KiCad Fixes #532
This commit is contained in:
parent
8194760ff6
commit
0972914f08
|
|
@ -1099,6 +1099,8 @@ class PCB_PrintOptions(VariantOptions):
|
|||
vis_layers = LSET()
|
||||
for la in p.layers:
|
||||
vis_layers.addLayer(la._id)
|
||||
if self.force_edge_cuts:
|
||||
vis_layers.addLayer(edge_id)
|
||||
GS.board.SetVisibleLayers(vis_layers)
|
||||
# Use a dir for each page, avoid overwriting files, just for debug purposes
|
||||
page_str = "%02d" % (n+1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue