`pcb_print` fixed problems when not plotting the frame

This commit is contained in:
Salvador E. Tropea 2022-04-22 09:07:36 -03:00
parent 48070c2e5a
commit 153a1a8072
1 changed files with 2 additions and 1 deletions

View File

@ -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: