zone drawing fix

This commit is contained in:
dickelbeck 2007-12-12 06:02:43 +00:00
parent d01e04c978
commit 01df6c34f7
2 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,14 @@ Please add newer entries at the top, list the date and your name with
email address.
2007-Dec-12 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+pcbnew
* Fized zone drawing bug in svn HEAD only.
pcbnew/zones.cpp, see:
http://tech.groups.yahoo.com/group/kicad-users/message/2993
2007-Dec-11 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================
+all

View File

@ -693,6 +693,8 @@ EDGE_ZONE* WinEDA_PcbFrame::Begin_Zone()
{
if( oldedge->m_Start != oldedge->m_End )
{
oldedge->m_Flags &= ~(IS_NEW | IS_MOVED);
newedge = new EDGE_ZONE( oldedge );
newedge->m_Flags = IS_NEW | IS_MOVED;
newedge->m_Start = newedge->m_End = oldedge->m_End;