Ensure connectivity is updated before filling zones
Fixes https://gitlab.com/kicad/code/kicad/-/issues/6844 (maybe)
This commit is contained in:
parent
241823647b
commit
23f81412c3
|
@ -93,6 +93,10 @@ bool ZONE_FILLER::Fill( std::vector<ZONE*>& aZones, bool aCheck, wxWindow* aPare
|
|||
if( !lock )
|
||||
return false;
|
||||
|
||||
// Rebuild just in case. This really needs to be reliable.
|
||||
connectivity->Clear();
|
||||
connectivity->Build( m_board, m_progressReporter );
|
||||
|
||||
BOARD_DESIGN_SETTINGS& bds = m_board->GetDesignSettings();
|
||||
|
||||
m_worstClearance = bds.GetBiggestClearanceValue();
|
||||
|
|
Loading…
Reference in New Issue