Fix bone-headed copy/paste error formatting gr_poly and fp_poly.

This commit is contained in:
Jeff Young 2022-01-09 11:44:06 +00:00
parent 78cac128b7
commit 2fea9e7513
1 changed files with 0 additions and 3 deletions

View File

@ -941,7 +941,6 @@ void PCB_PLUGIN::format( const PCB_SHAPE* aShape, int aNestLevel ) const
m_out->Print( aNestLevel, "(gr_poly%s\n", locked.c_str() ); m_out->Print( aNestLevel, "(gr_poly%s\n", locked.c_str() );
formatPolyPts( outline, aNestLevel, ADVANCED_CFG::GetCfg().m_CompactSave ); formatPolyPts( outline, aNestLevel, ADVANCED_CFG::GetCfg().m_CompactSave );
m_out->Print( aNestLevel + 1, ")\n" );
} }
else else
{ {
@ -1031,7 +1030,6 @@ void PCB_PLUGIN::format( const FP_SHAPE* aFPShape, int aNestLevel ) const
m_out->Print( aNestLevel, "(fp_poly%s\n", locked.c_str() ); m_out->Print( aNestLevel, "(fp_poly%s\n", locked.c_str() );
formatPolyPts( outline, aNestLevel, ADVANCED_CFG::GetCfg().m_CompactSave ); formatPolyPts( outline, aNestLevel, ADVANCED_CFG::GetCfg().m_CompactSave );
m_out->Print( aNestLevel + 1, ")\n" );
} }
else else
{ {
@ -1688,7 +1686,6 @@ void PCB_PLUGIN::format( const PAD* aPad, int aNestLevel ) const
m_out->Print( nested_level, "(gr_poly\n" ); m_out->Print( nested_level, "(gr_poly\n" );
formatPolyPts( outline, nested_level, ADVANCED_CFG::GetCfg().m_CompactSave ); formatPolyPts( outline, nested_level, ADVANCED_CFG::GetCfg().m_CompactSave );
m_out->Print( aNestLevel + 1, ")\n" );
} }
break; break;