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:
parent
83dffb865a
commit
79d48c94f9
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user