Fixed nest level when saving to not get giant diffs with version control software such as git

This commit is contained in:
Kristoffer Ödmark 2017-10-27 10:59:49 +02:00 committed by jean-pierre charras
parent fc5e8e5f52
commit 2e4dbdaf4b
1 changed files with 3 additions and 3 deletions

View File

@ -764,9 +764,9 @@ void PCB_IO::formatNetInformation( BOARD* aBoard, int aNestLevel ) const
void PCB_IO::formatHeader( BOARD* aBoard, int aNestLevel ) const void PCB_IO::formatHeader( BOARD* aBoard, int aNestLevel ) const
{ {
formatGeneral( aBoard ); formatGeneral( aBoard ,aNestLevel );
// Layers. // Layers.
formatBoardLayers( aBoard ); formatBoardLayers( aBoard ,aNestLevel );
// Setup // Setup
formatSetup( aBoard, aNestLevel ); formatSetup( aBoard, aNestLevel );
// Save net codes and names // 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 void PCB_IO::format( BOARD* aBoard, int aNestLevel ) const
{ {
formatHeader( aBoard ); formatHeader( aBoard , aNestLevel);
// Save the modules. // Save the modules.
for( MODULE* module = aBoard->m_Modules; module; module = module->Next() ) for( MODULE* module = aBoard->m_Modules; module; module = module->Next() )