Elements visibility are updated in the GAL.
This commit is contained in:
parent
b3318dad5d
commit
4741d5607c
|
@ -980,6 +980,7 @@ bool PCB_EDIT_FRAME::IsElementVisible( int aElement ) const
|
|||
|
||||
void PCB_EDIT_FRAME::SetElementVisibility( int aElement, bool aNewState )
|
||||
{
|
||||
GetGalCanvas()->GetView()->SetLayerVisible( ITEM_GAL_LAYER( aElement ), aNewState );
|
||||
GetBoard()->SetElementVisibility( aElement, aNewState );
|
||||
m_Layers->SetRenderState( aElement, aNewState );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue