Change round return type to float
(cherry picked from commitsc2ffaf5b2b
andf7cc2b090c
)
This commit is contained in:
parent
3d69fe95e5
commit
616d106247
1 changed files with 4 additions and 2 deletions
|
@ -506,10 +506,12 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
|
||||||
case MATH_CEIL: {
|
case MATH_CEIL: {
|
||||||
t = Variant::REAL;
|
t = Variant::REAL;
|
||||||
} break;
|
} break;
|
||||||
case MATH_POSMOD:
|
case MATH_POSMOD: {
|
||||||
case MATH_ROUND: {
|
|
||||||
t = Variant::INT;
|
t = Variant::INT;
|
||||||
} break;
|
} break;
|
||||||
|
case MATH_ROUND: {
|
||||||
|
t = Variant::REAL;
|
||||||
|
} break;
|
||||||
case MATH_ABS: {
|
case MATH_ABS: {
|
||||||
t = Variant::NIL;
|
t = Variant::NIL;
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in a new issue