From 8dc67312289feb76449a998dfaca4590ce71086e Mon Sep 17 00:00:00 2001 From: Kirill <95088806+kirill-mapper@users.noreply.github.com> Date: Sat, 17 Aug 2024 23:33:33 +0300 Subject: [PATCH] Update Renderable Light when Flags change for Cull Plane sync --- CodeWalker/Forms/ModelLightForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CodeWalker/Forms/ModelLightForm.cs b/CodeWalker/Forms/ModelLightForm.cs index 79edd2b..7bc33a6 100644 --- a/CodeWalker/Forms/ModelLightForm.cs +++ b/CodeWalker/Forms/ModelLightForm.cs @@ -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();