[PCB variant] Fixed title for sub-PCBs
- Must be applied after filtering
This commit is contained in:
parent
6790ccc547
commit
7aac98a239
|
|
@ -33,14 +33,14 @@ class PCB_Variant_Options(VariantOptions):
|
||||||
|
|
||||||
def run(self, output):
|
def run(self, output):
|
||||||
super().run(output)
|
super().run(output)
|
||||||
self.set_title(self.title)
|
|
||||||
self.filter_pcb_components(GS.board, do_3D=True)
|
self.filter_pcb_components(GS.board, do_3D=True)
|
||||||
|
self.set_title(self.title)
|
||||||
logger.debug('Saving PCB to '+output)
|
logger.debug('Saving PCB to '+output)
|
||||||
GS.board.Save(output)
|
GS.board.Save(output)
|
||||||
if self.copy_project:
|
if self.copy_project:
|
||||||
GS.copy_project(output)
|
GS.copy_project(output)
|
||||||
self.unfilter_pcb_components(GS.board, do_3D=True)
|
|
||||||
self.restore_title()
|
self.restore_title()
|
||||||
|
self.unfilter_pcb_components(GS.board, do_3D=True)
|
||||||
|
|
||||||
|
|
||||||
@output_class
|
@output_class
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue