Fix BakedLightmap bias bound check

(cherry picked from commit b4cc8ed6f2)
This commit is contained in:
MaxStgs 2021-04-30 14:08:45 +05:00 committed by Rémi Verschelde
parent 44a4df0476
commit 387d2a69ca
No known key found for this signature in database
GPG Key ID: C3336907360768E1
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;
}