Merge pull request #37851 from nicomitchell/FixMathRoundTypeReturn
Change visual script round function output type to float
This commit is contained in:
commit
fa0902a65d
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue