When printing, pads are not always printed (especially on tech layers)

A printing mode is added, to force ViewGetLOD() to return 0 in printing mode (pads are always drawn)

Fixes: lp:1809528
https://bugs.launchpad.net/kicad/+bug/1809528
This commit is contained in:
jean-pierre charras
2018-12-22 13:44:49 +01:00
parent 4c184f07a6
commit dde933ba08
4 changed files with 30 additions and 5 deletions
+1
View File
@@ -303,6 +303,7 @@ VIEW::VIEW( bool aIsDynamic ) :
double size = coord_limits::max() - coord_limits::epsilon();
m_boundary.SetOrigin( pos, pos );
m_boundary.SetSize( size, size );
SetPrintMode( 0 );
m_allItems.reset( new std::vector<VIEW_ITEM*> );
m_allItems->reserve( 32768 );