Fix BakedLightmap bias bound check
This commit is contained in:
parent
8e68f2e5f4
commit
b4cc8ed6f2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue