Merge pull request #48324 from MaxStgs/fix_comparsion

[3.x] Fix BakedLightmap bias bound check
This commit is contained in:
Rémi Verschelde 2021-05-03 17:06:15 +02:00 committed by GitHub
commit 6abf571d79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1457,7 +1457,7 @@ int BakedLightmap::get_bounces() const {
}
void BakedLightmap::set_bias(float p_bias) {
ERR_FAIL_COND(p_bias < 0.00001);
ERR_FAIL_COND(p_bias < 0.00001f);
bias = p_bias;
}