Merge pull request #37851 from nicomitchell/FixMathRoundTypeReturn
Change visual script round function output type to float
This commit is contained in:
commit
fa0902a65d
|
@ -508,7 +508,7 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
|
|||
} break;
|
||||
case MATH_POSMOD:
|
||||
case MATH_ROUND: {
|
||||
t = Variant::INT;
|
||||
t = Variant::FLOAT;
|
||||
} break;
|
||||
case MATH_ABS: {
|
||||
t = Variant::NIL;
|
||||
|
|
Loading…
Reference in New Issue