From 2e4dbdaf4b2cf1cfaba400fee57b7551c6a212e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristoffer=20=C3=96dmark?= Date: Fri, 27 Oct 2017 10:59:49 +0200 Subject: [PATCH] Fixed nest level when saving to not get giant diffs with version control software such as git --- pcbnew/kicad_plugin.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/kicad_plugin.cpp b/pcbnew/kicad_plugin.cpp index ad1a5a0211..45fc0729a2 100644 --- a/pcbnew/kicad_plugin.cpp +++ b/pcbnew/kicad_plugin.cpp @@ -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() )