private void OnSelectionChange() { this.m_LightmapPreviewTab.UpdateLightmapSelection(); if ((this.m_Mode == Mode.ObjectSettings) || (this.m_Mode == Mode.Maps)) { base.Repaint(); } }