Fully initialize PCB_RENDER_SETTINGS::m_sketchMode

This commit is contained in:
Maciej Suminski 2018-10-06 15:04:19 +02:00
parent dea778842b
commit ff0909c90c
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS()
m_selectionCandidateColor = COLOR4D( 0.0, 1.0, 0.0, 0.75 );
// By default everything should be displayed as filled
for( unsigned int i = 0; i < PCB_LAYER_ID_COUNT; ++i )
for( unsigned int i = 0; i < DIM( m_sketchMode ); ++i )
{
m_sketchMode[i] = false;
}