Fix RNA debug build error after recent Sky texture altitude change
Reduce step size within the allowed range.
This commit is contained in:
@@ -4744,7 +4744,7 @@ static void def_sh_tex_sky(StructRNA *srna)
|
||||
prop = RNA_def_property(srna, "altitude", PROP_FLOAT, PROP_DISTANCE);
|
||||
RNA_def_property_ui_text(prop, "Altitude", "Height from sea level");
|
||||
RNA_def_property_range(prop, 0.0f, 60000.0f);
|
||||
RNA_def_property_ui_range(prop, 0.0f, 60000.0f, 1000, 1);
|
||||
RNA_def_property_ui_range(prop, 0.0f, 60000.0f, 10, 1);
|
||||
RNA_def_property_float_default(prop, 0.0f);
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
||||
|
Reference in New Issue
Block a user