Gerbview: fix a minor log warning.
This commit is contained in:
parent
6b039bc99e
commit
6e9990449f
|
@ -125,7 +125,9 @@ void GERBER_LAYER_WIDGET::ReFillRender()
|
||||||
{
|
{
|
||||||
if( renderRows[row].color != COLOR4D::UNSPECIFIED ) // does this row show a color?
|
if( renderRows[row].color != COLOR4D::UNSPECIFIED ) // does this row show a color?
|
||||||
renderRows[row].color = myframe->GetVisibleElementColor( renderRows[row].id );
|
renderRows[row].color = myframe->GetVisibleElementColor( renderRows[row].id );
|
||||||
renderRows[row].state = myframe->IsElementVisible( renderRows[row].id );
|
|
||||||
|
if( renderRows[row].id ) // if not the separator
|
||||||
|
renderRows[row].state = myframe->IsElementVisible( renderRows[row].id );
|
||||||
}
|
}
|
||||||
|
|
||||||
AppendRenderRows( renderRows, DIM(renderRows) );
|
AppendRenderRows( renderRows, DIM(renderRows) );
|
||||||
|
|
Loading…
Reference in New Issue