Editor: Allow non-finite values in Range

Co-Authored-By: Aaron Franke <arnfranke@yahoo.com>
This commit is contained in:
Thaddeus Crews
2025-04-29 11:05:13 -05:00
parent ce94b26de7
commit 316af6aa36

View File

@ -135,10 +135,6 @@ void Range::set_value(double p_val) {
}
void Range::_set_value_no_signal(double p_val) {
if (!Math::is_finite(p_val)) {
return;
}
if (shared->step > 0) {
p_val = Math::round((p_val - shared->min) / shared->step) * shared->step + shared->min;
}