Gerbview: more about bug 788778 fix.

This commit is contained in:
jean-pierre charras 2011-05-31 08:24:56 +02:00
parent 5383aa2e56
commit bb6f5625bd
4 changed files with 13 additions and 11 deletions

View File

@ -6,7 +6,7 @@
#endif
#ifndef KICAD_BUILD_VERSION
#define KICAD_BUILD_VERSION "(2011-05-25)"
#define KICAD_BUILD_VERSION "(2011-05-31)"
#endif

View File

@ -227,15 +227,17 @@ void BOARD::Draw( EDA_DRAW_PANEL* aPanel, wxDC* aDC, int aDrawMode, const wxPoin
screenDC.Blit( 0, 0, bitmapWidth, bitmapHeight,
&layerDC, 0, 0, wxOR );
}
// Restore actual values and clear bitmpap for next drawing
layerDC.SetDeviceOrigin( dev_org.x, dev_org.y );
layerDC.SetLogicalOrigin( logical_org.x, logical_org.y );
layerDC.SetUserScale( scale, scale );
layerDC.SetBackground( bgBrush );
layerDC.SetBackgroundMode( wxSOLID );
layerDC.Clear();
doBlit = false;
}
// Restore actual values for drawing
layerDC.SetDeviceOrigin( dev_org.x, dev_org.y );
layerDC.SetLogicalOrigin( logical_org.x, logical_org.y );
layerDC.SetUserScale( scale, scale );
doBlit = false;
layerDC.Clear();
}
if( gerber->m_ImageNegative )

View File

@ -17,7 +17,7 @@
; General Product Description Definitions
!define PRODUCT_NAME "KiCad"
!define PRODUCT_VERSION "2011.05.25"
!define PRODUCT_VERSION "2011.05.31"
!define PRODUCT_WEB_SITE "http://iut-tice.ujf-grenoble.fr/kicad/"
!define SOURCEFORGE_WEB_SITE "http://kicad.sourceforge.net/"
!define COMPANY_NAME ""

View File

@ -1,4 +1,4 @@
release version:
2011 may 25
2011 may 31
files (.zip,.tgz):
kicad-2011-05-12
kicad-2011-05-31