pcbnew: minor but mandatory change when printing tracks (removed net names printing)

This commit is contained in:
charras 2009-01-14 08:27:16 +00:00
parent b27bbe9cac
commit 94cf5b0d28
1 changed files with 2 additions and 1 deletions

View File

@ -641,8 +641,9 @@ void TRACK::Draw( WinEDA_DrawPanel* panel, wxDC* DC, int draw_mode, const wxPoin
* we must filter tracks, to avoid a lot of texts.
* - only horizontal or vertical tracks are eligible
* - only tracks with a length > 10 * thickness are eligible
* and, of course, if we are not printing the board
*/
if( Type() == TYPE_ZONE )
if( Type() == TYPE_ZONE || g_IsPrinting )
return;
#define THRESHOLD 10