Only modify visibility checkboxes for layers with them
This commit is contained in:
parent
f2ab07c8b4
commit
c8ebcc8e0f
|
@ -1283,6 +1283,8 @@ void APPEARANCE_CONTROLS::SetObjectVisible( GAL_LAYER_ID aLayer, bool isVisible
|
|||
if( m_objectSettingsMap.count( aLayer ) )
|
||||
{
|
||||
APPEARANCE_SETTING* setting = m_objectSettingsMap.at( aLayer );
|
||||
|
||||
if( setting->can_control_visibility )
|
||||
setting->ctl_visibility->SetValue( isVisible );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue