BFRES : Fix setting param values for vec3/vec4 with colors as 0

This commit is contained in:
KillzXGaming 2020-04-15 20:29:44 -04:00
parent e9321b9dc8
commit c42d5e4441
2 changed files with 0 additions and 9 deletions

View file

@ -80,10 +80,6 @@ namespace FirstPlugin.Forms
if (IsColor)
{
barSlider1.Minimum = 0;
barSlider2.Minimum = 0;
barSlider3.Minimum = 0;
var SetColor = Color.FromArgb(255,
Utils.FloatToIntClamp(values[0]),
Utils.FloatToIntClamp(values[1]),

View file

@ -121,11 +121,6 @@ namespace FirstPlugin.Forms
{
if (IsColor)
{
barSlider1.Minimum = 0;
barSlider2.Minimum = 0;
barSlider3.Minimum = 0;
barSlider4.Minimum = 0;
colorPB.BackColor = Color.FromArgb(
Utils.FloatToIntClamp(255),
Utils.FloatToIntClamp(values[0]),