From e056c96c10666d89aac2e0e729518a53d540cbc4 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Thu, 5 Jan 2023 22:26:26 -0500 Subject: [PATCH] Feed the sym svg export absolute paths for source lib --- eeschema/eeschema_jobs_handler.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eeschema/eeschema_jobs_handler.cpp b/eeschema/eeschema_jobs_handler.cpp index a7403f9f1f..6db3100146 100644 --- a/eeschema/eeschema_jobs_handler.cpp +++ b/eeschema/eeschema_jobs_handler.cpp @@ -484,7 +484,10 @@ int EESCHEMA_JOBS_HANDLER::JobSymUpgrade( JOB* aJob ) { JOB_SYM_UPGRADE* upgradeJob = dynamic_cast( aJob ); - SCH_SEXPR_PLUGIN_CACHE schLibrary( upgradeJob->m_libraryPath ); + wxFileName fn( upgradeJob->m_libraryPath ); + fn.MakeAbsolute(); + + SCH_SEXPR_PLUGIN_CACHE schLibrary( fn.GetFullPath() ); try {