Fix BakedLightmap bias bound check

This commit is contained in:
MaxStgs 2021-04-30 14:08:45 +05:00
parent 8e68f2e5f4
commit b4cc8ed6f2

View file

@ -1446,7 +1446,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;
}