Properly set keepout flag for new zones in GAL

This commit is contained in:
Johannes Agricola 2016-02-08 21:26:03 -05:00 committed by Wayne Stambaugh
parent 72a69f9428
commit eaea15fbef
1 changed files with 1 additions and 0 deletions

View File

@ -1159,6 +1159,7 @@ int DRAWING_TOOL::drawZone( bool aKeepout )
// Get the current default settings for zones
ZONE_SETTINGS zoneInfo = m_frame->GetZoneSettings();
zoneInfo.m_CurrentZone_Layer = m_frame->GetScreen()->m_Active_Layer;
zoneInfo.SetIsKeepout(aKeepout);
m_controls->SetAutoPan( true );
m_controls->CaptureCursor( true );