mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
There's no view when running tests.
(cherry picked from commit 9f7fa4df662905ea52bc0b5915e477b0333fb1c3)
This commit is contained in:
parent
8202388aa8
commit
1277cdd570
@ -524,7 +524,8 @@ void BOARD_COMMIT::Push( const wxString& aMessage, int aCommitFlags )
|
||||
if( !staleRuleAreas.empty() && ( settings->m_Display.m_TrackClearance == SHOW_WITH_VIA_ALWAYS
|
||||
|| settings->m_Display.m_PadClearance ) )
|
||||
{
|
||||
view->UpdateCollidingItems( staleRuleAreas, { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, PCB_PAD_T } );
|
||||
if( view )
|
||||
view->UpdateCollidingItems( staleRuleAreas, { PCB_TRACE_T, PCB_ARC_T, PCB_VIA_T, PCB_PAD_T } );
|
||||
}
|
||||
|
||||
if( !staleTeardropPadsAndVias.empty() || !staleTeardropTracks.empty() )
|
||||
|
Loading…
x
Reference in New Issue
Block a user