private void materialComboBox_SelectedIndexChanged(object sender, EventArgs e)
{
if (materialComboBox.SelectedItem != null)
{
currentMaterial = MaterialManager.Instance.Materials[materialComboBox.SelectedItem.ToString()];
if (currentSection != null)
currentSection.Material = currentMaterial;
}
}