From 153a1a8072ed1dae94f67e2cd3d998e9ebc639f4 Mon Sep 17 00:00:00 2001 From: "Salvador E. Tropea" Date: Fri, 22 Apr 2022 09:07:36 -0300 Subject: [PATCH] `pcb_print` fixed problems when not plotting the frame --- kibot/out_pcb_print.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/kibot/out_pcb_print.py b/kibot/out_pcb_print.py index 25c2c56a..22213816 100644 --- a/kibot/out_pcb_print.py +++ b/kibot/out_pcb_print.py @@ -631,7 +631,8 @@ class PCB_PrintOptions(VariantOptions): filelist.append((GS.pcb_basename+"-"+suffix+".svg", via_c)) def add_frame_images(self, svg, monochrome): - if not self.frame_plot_mechanism == 'internal' or not self.last_worksheet.has_images: + if (not self.plot_sheet_reference or not self.frame_plot_mechanism == 'internal' or + not self.last_worksheet.has_images): return if monochrome: if which('convert') is None: