UI: Nishita sky: Increase Sun Elevation UI sensitivity and remove min/max

This now use default angle precision which matches the sun rotation.
Feeling is much more natural.
This commit is contained in:
Clément Foucault 2022-07-25 19:23:46 +02:00
parent 46dbfce7fc
commit fb9f12eeec
1 changed files with 0 additions and 1 deletions

View File

@ -5282,7 +5282,6 @@ static void def_sh_tex_sky(StructRNA *srna)
prop = RNA_def_property(srna, "sun_elevation", PROP_FLOAT, PROP_ANGLE);
RNA_def_property_ui_text(prop, "Sun Elevation", "Sun angle from horizon");
RNA_def_property_ui_range(prop, -M_PI, M_PI, 1, 2);
RNA_def_property_float_default(prop, M_PI_2);
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");