mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2024-09-29 04:27:30 +08:00
Update Renderable Light when Flags change for Cull Plane sync
This commit is contained in:
parent
c45ea83733
commit
8dc6731228
@ -1057,6 +1057,7 @@ namespace CodeWalker.Forms
|
|||||||
if (selectedLight.Flags != v)
|
if (selectedLight.Flags != v)
|
||||||
{
|
{
|
||||||
selectedLight.Flags = v;
|
selectedLight.Flags = v;
|
||||||
|
UpdateLightParams();
|
||||||
}
|
}
|
||||||
populatingui = true;
|
populatingui = true;
|
||||||
UpdateFlagsCheckBoxes();
|
UpdateFlagsCheckBoxes();
|
||||||
@ -1071,6 +1072,7 @@ namespace CodeWalker.Forms
|
|||||||
if (selectedLight.Flags != v)
|
if (selectedLight.Flags != v)
|
||||||
{
|
{
|
||||||
selectedLight.Flags = v;
|
selectedLight.Flags = v;
|
||||||
|
UpdateLightParams();
|
||||||
}
|
}
|
||||||
populatingui = true;
|
populatingui = true;
|
||||||
FlagsTextBox.Text = selectedLight.Flags.ToString();
|
FlagsTextBox.Text = selectedLight.Flags.ToString();
|
||||||
|
Loading…
Reference in New Issue
Block a user