Fixed nest level when saving to not get giant diffs with version control software such as git
This commit is contained in:
parent
fc5e8e5f52
commit
2e4dbdaf4b
|
@ -764,9 +764,9 @@ void PCB_IO::formatNetInformation( BOARD* aBoard, int aNestLevel ) const
|
|||
|
||||
void PCB_IO::formatHeader( BOARD* aBoard, int aNestLevel ) const
|
||||
{
|
||||
formatGeneral( aBoard );
|
||||
formatGeneral( aBoard ,aNestLevel );
|
||||
// Layers.
|
||||
formatBoardLayers( aBoard );
|
||||
formatBoardLayers( aBoard ,aNestLevel );
|
||||
// Setup
|
||||
formatSetup( aBoard, aNestLevel );
|
||||
// Save net codes and names
|
||||
|
@ -775,7 +775,7 @@ void PCB_IO::formatHeader( BOARD* aBoard, int aNestLevel ) const
|
|||
|
||||
void PCB_IO::format( BOARD* aBoard, int aNestLevel ) const
|
||||
{
|
||||
formatHeader( aBoard );
|
||||
formatHeader( aBoard , aNestLevel);
|
||||
|
||||
// Save the modules.
|
||||
for( MODULE* module = aBoard->m_Modules; module; module = module->Next() )
|
||||
|
|
Loading…
Reference in New Issue