7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:29:17 +00:00

Fix ODB output not resolving vars

Fixes https://gitlab.com/kicad/code/kicad/-/issues/19861
This commit is contained in:
Marek Roszko 2025-02-06 20:35:14 -05:00
parent 83dffb865a
commit 79d48c94f9

View File

@ -294,7 +294,7 @@ void DIALOG_EXPORT_ODBPP::GenerateODBPPFiles( const JOB_EXPORT_PCB_ODB& aJob, BO
REPORTER* aReporter )
{
wxCHECK( aBoard, /* void */ );
wxString outputPath = aJob.GetFullOutputPath( NULL );
wxString outputPath = aJob.GetFullOutputPath( aBoard->GetProject() );
if( outputPath.IsEmpty() )
outputPath = wxFileName( aJob.m_filename ).GetPath();