Fixed: SCH load and PCB components consolidation reuse.
The code did the tasks over and over.
This commit is contained in:
parent
712d135df5
commit
d681528a03
|
|
@ -148,6 +148,8 @@ def load_board(pcb_file=None):
|
|||
|
||||
|
||||
def load_sch():
|
||||
if GS.sch: # Already loaded
|
||||
return
|
||||
GS.kicad_version = pcbnew.GetBuildVersion()
|
||||
logger.debug('KiCad: '+GS.kicad_version)
|
||||
GS.check_sch()
|
||||
|
|
@ -189,6 +191,7 @@ def get_board_comps_data(comps):
|
|||
c.virtual = True
|
||||
else:
|
||||
c.tht = True
|
||||
GS.board_comps_joined = True
|
||||
|
||||
|
||||
def preflight_checks(skip_pre):
|
||||
|
|
|
|||
Loading…
Reference in New Issue