Update Renderable Light when Flags change for Cull Plane sync

This commit is contained in:
Kirill 2024-08-17 23:33:33 +03:00 committed by GitHub
parent c45ea83733
commit 8dc6731228
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1057,6 +1057,7 @@ namespace CodeWalker.Forms
if (selectedLight.Flags != v)
{
selectedLight.Flags = v;
UpdateLightParams();
}
populatingui = true;
UpdateFlagsCheckBoxes();
@ -1071,6 +1072,7 @@ namespace CodeWalker.Forms
if (selectedLight.Flags != v)
{
selectedLight.Flags = v;
UpdateLightParams();
}
populatingui = true;
FlagsTextBox.Text = selectedLight.Flags.ToString();