Skip to content

Commit

Permalink
fix: extra layers filter
Browse files Browse the repository at this point in the history
  • Loading branch information
bennymeg committed Feb 28, 2024
1 parent 3714af0 commit 84e933b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def generate_gerber(self, temp_dir, extra_layers):
extra_layers = []

for layer_info in plotPlan:
if self.board.IsLayerEnabled(layer_info[1]) or layer_info[1] in extra_layers:
if self.board.IsLayerEnabled(layer_info[1]) or layer_info[0] in extra_layers:
plot_controller.SetLayer(layer_info[1])
plot_controller.OpenPlotfile(layer_info[0], pcbnew.PLOT_FORMAT_GERBER, layer_info[2])

Expand Down

0 comments on commit 84e933b

Please sign in to comment.