Merge pull request #55963 from timothyqiu/color-v-int
This commit is contained in:
commit
28713f939b
1 changed files with 1 additions and 1 deletions
|
@ -1486,7 +1486,7 @@ void Variant::set_named(const StringName &p_index, const Variant &p_value, bool
|
|||
v->set_hsv(v->get_h(), p_value._data._int, v->get_v(), v->a);
|
||||
valid = true;
|
||||
} else if (p_index == CoreStringNames::singleton->v) {
|
||||
v->set_hsv(v->get_h(), v->get_v(), p_value._data._int, v->a);
|
||||
v->set_hsv(v->get_h(), v->get_s(), p_value._data._int, v->a);
|
||||
valid = true;
|
||||
}
|
||||
} else if (p_value.type == Variant::REAL) {
|
||||
|
|
Loading…
Reference in a new issue