Skip to content

Commit

Permalink
Fixed name clarification
Browse files Browse the repository at this point in the history
- Added twice because of un/scaled generation
  • Loading branch information
set-soft committed Mar 7, 2023
1 parent 6dd8a37 commit b7edb83
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions kicad-diff.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,9 +172,10 @@ def GenPCBImages(file, file_hash, hash_dir, file_no_ext, layer_names, wanted_lay

else:
logger.debug('Using cached {} layer'.format(layer))
layer_name = layer_names[i]
if layer_name != layer:
layer_names[i] = '{} ({})'.format(layer_name, layer)
if scaled:
layer_name = layer_names[i]
if layer_name != layer:
layer_names[i] = '{} ({})'.format(layer_name, layer)
return WriteBBox(board, hash_dir)


Expand Down

0 comments on commit b7edb83

Please sign in to comment.