Fix forgotten change (m_Zone to m_SegZoneDeprecated)

This commit is contained in:
jean-pierre charras 2018-05-13 09:19:44 +02:00
parent 54766bac40
commit b94e0a2031
1 changed files with 2 additions and 2 deletions

View File

@ -217,7 +217,7 @@ void PCB_EDIT_FRAME::OnActionPlugin( wxCommandEvent& aEvent )
} }
// Append zones segm: // Append zones segm:
for( BOARD_ITEM* item = currentPcb->m_Zone; item != NULL; item = item->Next() ) for( BOARD_ITEM* item = currentPcb->m_SegZoneDeprecated; item != NULL; item = item->Next() )
{ {
ITEM_PICKER picker( item, UR_CHANGED ); ITEM_PICKER picker( item, UR_CHANGED );
itemsList.PushItem( picker ); itemsList.PushItem( picker );
@ -343,7 +343,7 @@ void PCB_EDIT_FRAME::OnActionPlugin( wxCommandEvent& aEvent )
} }
} }
for( BOARD_ITEM* item = currentPcb->m_Zone; item != NULL; item = item->Next() ) for( BOARD_ITEM* item = currentPcb->m_SegZoneDeprecated; item != NULL; item = item->Next() )
{ {
if( !oldBuffer->ContainsItem( item ) ) if( !oldBuffer->ContainsItem( item ) )
{ {