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:
parent
46dbfce7fc
commit
fb9f12eeec
|
@ -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");
|
||||
|
||||
|
|
Loading…
Reference in New Issue