Compositor: Increase Glare node max threshold

Increase the threshold of the glare node from 1000
to FLT_MAX to make it easier to use the glare node
with really bright pixels, like Nishita sky sun.

Ref: #129310

Pull Request: https://projects.blender.org/blender/blender/pulls/129343
This commit is contained in:
Alaska
2024-10-24 08:48:35 +02:00
committed by Alaska
parent 1ba6b74cdf
commit 0085ef0e59

View File

@@ -7821,7 +7821,7 @@ static void def_cmp_glare(StructRNA *srna)
prop = RNA_def_property(srna, "threshold", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, nullptr, "threshold");
RNA_def_property_range(prop, 0.0f, 1000.0f);
RNA_def_property_range(prop, 0.0f, FLT_MAX);
RNA_def_property_ui_text(
prop,
"Threshold",