Merge pull request #37890 from nicomitchell/FixPosModTypeReturn
Change MATH_POSMOD return type back to INT
This commit is contained in:
commit
c9de04b628
|
@ -506,7 +506,9 @@ PropertyInfo VisualScriptBuiltinFunc::get_output_value_port_info(int p_idx) cons
|
||||||
case MATH_CEIL: {
|
case MATH_CEIL: {
|
||||||
t = Variant::FLOAT;
|
t = Variant::FLOAT;
|
||||||
} break;
|
} break;
|
||||||
case MATH_POSMOD:
|
case MATH_POSMOD: {
|
||||||
|
t = Variant::INT;
|
||||||
|
} break;
|
||||||
case MATH_ROUND: {
|
case MATH_ROUND: {
|
||||||
t = Variant::FLOAT;
|
t = Variant::FLOAT;
|
||||||
} break;
|
} break;
|
||||||
|
|
Loading…
Reference in New Issue