From 424807da0343951bcde214ab2caa3f3fb5f9567d Mon Sep 17 00:00:00 2001 From: dsa-t Date: Fri, 22 Aug 2025 15:07:52 +0300 Subject: [PATCH] Fix ODB++ path creation. (cherry picked from commit 72e19047087a83fea784c4f00db24b50e5bc4f3e) Co-authored-by: Alex Shvartzkop --- pcbnew/dialogs/dialog_export_odbpp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pcbnew/dialogs/dialog_export_odbpp.cpp b/pcbnew/dialogs/dialog_export_odbpp.cpp index bb8846abd7..194d5faf39 100644 --- a/pcbnew/dialogs/dialog_export_odbpp.cpp +++ b/pcbnew/dialogs/dialog_export_odbpp.cpp @@ -271,7 +271,7 @@ void DIALOG_EXPORT_ODBPP::GenerateODBPPFiles( const JOB_EXPORT_PCB_ODB& aJob, BO bool outputIsSingleFile = aJob.m_compressionMode != JOB_EXPORT_PCB_ODB::ODB_COMPRESSION::NONE; wxString msg; - if( !PATHS::EnsurePathExists( outputFn.GetPath(), outputIsSingleFile ) ) + if( !PATHS::EnsurePathExists( outputFn.GetFullPath(), outputIsSingleFile ) ) { msg.Printf( _( "Cannot create output directory '%s'." ), outputFn.GetFullPath() );