mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 00:21:25 +00:00
Don't strip last directory name when plotting
This commit is contained in:
parent
7654c7f6e1
commit
20def236bf
@ -82,10 +82,10 @@ bool PCB_PLOTTER::Plot( const wxString& aOutputPath, const LSEQ& aLayersToPlot,
|
||||
|
||||
wxString layerName = m_board->GetLayerName( layer );
|
||||
|
||||
wxFileName fn( aOutputPath );
|
||||
wxFileName fn;
|
||||
wxFileName brdFn = m_board->GetFileName();
|
||||
wxString msg;
|
||||
fn.SetName( brdFn.GetName() );
|
||||
fn.Assign( aOutputPath, brdFn.GetName() );
|
||||
|
||||
// Use Gerber Extensions based on layer number
|
||||
// (See http://en.wikipedia.org/wiki/Gerber_File)
|
||||
|
Loading…
Reference in New Issue
Block a user