Fix for light flags not being populated on ModelLightForm

This commit is contained in:
dexy 2022-01-07 00:42:20 +11:00
parent 0fef64ece9
commit bbdbb6ae59

View File

@ -120,6 +120,7 @@ namespace CodeWalker.Forms
ColourGUpDown.Value = 0;
ColourBUpDown.Value = 0;
IntensityTextBox.Text = "";
FlagsTextBox.Text = "";
FlashinessUpDown.Value = 0;
BoneIDUpDown.Value = 0;
GroupIDUpDown.Value = 0;
@ -163,6 +164,7 @@ namespace CodeWalker.Forms
ColourBUpDown.Value = light.ColorB;
ColourLabel.BackColor = System.Drawing.Color.FromArgb(light.ColorR, light.ColorG, light.ColorB);
IntensityTextBox.Text = FloatUtil.ToString(light.Intensity);
FlagsTextBox.Text = light.Flags.ToString();
FlashinessUpDown.Value = light.Flashiness;
BoneIDUpDown.Value = light.BoneId;
GroupIDUpDown.Value = light.GroupId;