Allow embedded files to come from components

as well as parent containers, part II.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/20210
This commit is contained in:
Jeff Young
2025-04-25 12:26:31 +01:00
parent c2be7fa3e6
commit 524575a595
36 changed files with 225 additions and 102 deletions
@@ -210,8 +210,8 @@ BOARD* LoadBoard( const wxString& aFileName, PCB_IO_MGR::PCB_FILE_T aFormat, boo
resolver.SetProgramBase( PgmOrNull() );
wxString filename = resolver.ResolvePath( BASE_SCREEN::m_DrawingSheetFileName,
project->GetProjectPath(),
brd->GetEmbeddedFiles() );
project->GetProjectPath(),
{ brd->GetEmbeddedFiles() } );
wxString msg;