mirror of
https://github.com/godotengine/godot.git
synced 2026-01-05 06:11:29 +03:00
Fix BakedLightmap bias bound check
(cherry picked from commit b4cc8ed6f2)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user