GetFullPath() includes filename; we just want GetPath()
Fixes: lp:1785891 * https://bugs.launchpad.net/kicad/+bug/1785891
This commit is contained in:
parent
d63d0c40ef
commit
9b44100e04
|
@ -2118,7 +2118,7 @@ void PCB_IO::FootprintSave( const wxString& aLibraryPath, const MODULE* aFootpri
|
|||
module->Flip( module->GetPosition() );
|
||||
|
||||
wxLogTrace( traceKicadPcbPlugin, wxT( "Creating s-expr footprint file '%s'." ), fullPath );
|
||||
mods.insert( footprintName, new FP_CACHE_ITEM( module, WX_FILENAME( fullPath, fullName ) ) );
|
||||
mods.insert( footprintName, new FP_CACHE_ITEM( module, WX_FILENAME( fn.GetPath(), fullName ) ) );
|
||||
m_cache->Save( module );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue