Exemple #1
0
 private void label_light_type_MouseDown(object sender, MouseEventArgs e)
 {
     if (m_selected_light >= 0 && m_dmesh != null)
     {
         DLight dl = m_dmesh.light[m_selected_light];
         dl.CycleStyle();
         UpdateLightProperties(dl);
         RefreshGeometry();
     }
 }
 private void label_light_type_MouseDown(object sender, MouseEventArgs e)
 {
     if (m_selected_light >= 0 && m_active_dmesh != null)
     {
         DLight dl = m_active_dmesh.light[m_selected_light];
         dl.CycleStyle();
         UpdateLightProperties(dl);
         gl_custom.Invalidate();
     }
 }