Commit 01df6c34 authored by dickelbeck's avatar dickelbeck

zone drawing fix

parent d01e04c9
...@@ -5,6 +5,14 @@ Please add newer entries at the top, list the date and your name with ...@@ -5,6 +5,14 @@ Please add newer entries at the top, list the date and your name with
email address. 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> 2007-Dec-11 UPDATE Dick Hollenbeck <dick@softplc.com>
================================================================================ ================================================================================
+all +all
......
...@@ -693,6 +693,8 @@ EDGE_ZONE* WinEDA_PcbFrame::Begin_Zone() ...@@ -693,6 +693,8 @@ EDGE_ZONE* WinEDA_PcbFrame::Begin_Zone()
{ {
if( oldedge->m_Start != oldedge->m_End ) if( oldedge->m_Start != oldedge->m_End )
{ {
oldedge->m_Flags &= ~(IS_NEW | IS_MOVED);
newedge = new EDGE_ZONE( oldedge ); newedge = new EDGE_ZONE( oldedge );
newedge->m_Flags = IS_NEW | IS_MOVED; newedge->m_Flags = IS_NEW | IS_MOVED;
newedge->m_Start = newedge->m_End = oldedge->m_End; newedge->m_Start = newedge->m_End = oldedge->m_End;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment