[Added] Suffix for disabled layers when reporting them
This commit is contained in:
parent
003fd932f0
commit
e5e9c370ae
|
|
@ -184,7 +184,7 @@ class AnyLayerOptions(VariantOptions):
|
||||||
desc = la.description
|
desc = la.description
|
||||||
id = la.id
|
id = la.id
|
||||||
if not GS.board.IsLayerEnabled(id):
|
if not GS.board.IsLayerEnabled(id):
|
||||||
logger.warning(W_NOLAYER+'Layer "{}" isn\'t used'.format(desc))
|
logger.warning(W_NOLAYER+f'Layer "{desc}" ({la.suffix}) isn\'t used')
|
||||||
continue
|
continue
|
||||||
if self._plot_format != PLOT_FORMAT_GERBER and self.individual_page_scaling:
|
if self._plot_format != PLOT_FORMAT_GERBER and self.individual_page_scaling:
|
||||||
# Only this layer is visible
|
# Only this layer is visible
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue