lightmap bake fix

This commit is contained in:
turanszkij
2018-12-22 01:05:28 +01:00
parent 9a81726f8d
commit 01525f60f2
3 changed files with 5 additions and 2 deletions
+3
View File
@@ -260,6 +260,8 @@ void LightWindow::SetEntity(Entity entity)
haloCheckBox->SetCheck(light->IsVisualizerEnabled());
volumetricsCheckBox->SetEnabled(true);
volumetricsCheckBox->SetCheck(light->IsVolumetricsEnabled());
staticCheckBox->SetEnabled(true);
staticCheckBox->SetCheck(light->IsStatic());
colorPicker->SetEnabled(true);
typeSelectorComboBox->SetEnabled(true);
typeSelectorComboBox->SetSelected((int)light->GetType());
@@ -277,6 +279,7 @@ void LightWindow::SetEntity(Entity entity)
shadowCheckBox->SetEnabled(false);
haloCheckBox->SetEnabled(false);
volumetricsCheckBox->SetEnabled(false);
staticCheckBox->SetEnabled(false);
energySlider->SetEnabled(false);
colorPicker->SetEnabled(false);
typeSelectorComboBox->SetEnabled(false);