Remove code only used during a test.

This commit is contained in:
jean-pierre charras 2020-01-02 20:44:43 +01:00
parent 18d4112fce
commit ce77106994
1 changed files with 0 additions and 4 deletions

View File

@ -99,11 +99,7 @@ bool GERBVIEW_FRAME::Read_GERBER_File( const wxString& GERBER_FullFileName )
// (maybe convert geometry into positives?)
}
#ifdef GBR_USE_DLIST
for( auto item = gerber->GetFirstItemInList(); item; item = item->Next() )
#else
for( auto item : gerber->GetItems() )
#endif
GetCanvas()->GetView()->Add( (KIGFX::VIEW_ITEM*) item );
}