Merge pull request #37890 from nicomitchell/FixPosModTypeReturn

Change MATH_POSMOD return type back to INT
This commit is contained in:
Rémi Verschelde 2020-04-15 00:05:35 +02:00 committed by GitHub
commit c9de04b628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -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;