[Fixed] Missing implementation of include_components_from_pcb

This commit is contained in:
Salvador E. Tropea 2023-11-17 10:43:03 -03:00
parent 1c5dc60e43
commit 623231be8d
1 changed files with 3 additions and 0 deletions

View File

@ -340,6 +340,9 @@ def get_board_comps_data(comps):
if ref not in comps_hash:
if not (attrs & MOD_BOARD_ONLY) and not ref.startswith('KiKit_'):
logger.warning(W_PCBNOSCH + '`{}` component in board, but not in schematic'.format(ref))
if not GS.global_include_components_from_pcb:
# v1.6.3 behavior
continue
# Create a component for this so we can include/exclude it using filters
c = create_component_from_footprint(m, ref)
comps_hash[ref] = [c]