Cycles: Sensible limmits for Sky Texture turbidity value
This commit is contained in:
@@ -1462,7 +1462,9 @@ static void def_sh_tex_sky(StructRNA *srna)
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
||||
prop = RNA_def_property(srna, "turbidity", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Turbidity", "");
|
||||
RNA_def_property_range(prop, 1.0f, 30.0f);
|
||||
RNA_def_property_ui_range(prop, 2.0f, 10.0f, 1, 2);
|
||||
RNA_def_property_ui_text(prop, "Turbidity", "Atmospheric turbidity");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user