Skip to content

Commit ed02f9e

Browse files
committed
Merge pull request #113599 from allenwp/fix-glow-bleed-threshold-error-value
Change `environment_get_glow_hdr_bleed_threshold` error handling
2 parents 4b448fd + 6f02377 commit ed02f9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servers/rendering/storage/environment_storage.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ RS::EnvironmentGlowBlendMode RendererEnvironmentStorage::environment_get_glow_bl
615615

616616
float RendererEnvironmentStorage::environment_get_glow_hdr_bleed_threshold(RID p_env) const {
617617
Environment *env = environment_owner.get_or_null(p_env);
618-
ERR_FAIL_NULL_V(env, 0.0);
618+
ERR_FAIL_NULL_V(env, 1.0);
619619
return env->glow_hdr_bleed_threshold;
620620
}
621621

0 commit comments

Comments
 (0)