mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-03-30 06:06:55 +00:00
Must assign extension to keep from stripping last '.' section.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/20065
This commit is contained in:
parent
0aa4f11970
commit
d3f57fac5a
pcbnew
@ -1334,8 +1334,7 @@ void DIALOG_PLOT::Plot( wxCommandEvent& event )
|
||||
for( size_t i = 0; i < count; i++ )
|
||||
{
|
||||
int index = plotOnAllLayers.Item( i );
|
||||
PCB_LAYER_ID client_layer =
|
||||
getLayerClientData( m_plotAllLayersList, index )->Layer();
|
||||
PCB_LAYER_ID client_layer = getLayerClientData( m_plotAllLayersList, index )->Layer();
|
||||
|
||||
commonLayers.push_back( client_layer );
|
||||
}
|
||||
|
@ -146,7 +146,7 @@ bool PCB_PLOTTER::Plot( const wxString& aOutputPath,
|
||||
else
|
||||
{
|
||||
wxFileName brdFn = m_board->GetFileName();
|
||||
fn.Assign( aOutputPath, brdFn.GetName() );
|
||||
fn.Assign( aOutputPath, brdFn.GetName(), fileExt );
|
||||
|
||||
// Use Gerber Extensions based on layer number
|
||||
// (See http://en.wikipedia.org/wiki/Gerber_File)
|
||||
|
Loading…
Reference in New Issue
Block a user