forked from bartvdbraak/blender
Fix #21000: normal size button increment too small to see, also fixed
increment for lamp energy.
This commit is contained in:
parent
636f5eae0f
commit
36f57beca2
@ -348,7 +348,7 @@ static void rna_def_lamp(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_draw_update");
|
||||
|
||||
prop= RNA_def_property(srna, "energy", PROP_FLOAT, PROP_NONE);
|
||||
RNA_def_property_ui_range(prop, 0, 10.0, 0.1, 2);
|
||||
RNA_def_property_ui_range(prop, 0, 10.0, 10, 2);
|
||||
RNA_def_property_ui_text(prop, "Energy", "Amount of light that the lamp emits.");
|
||||
RNA_def_property_update(prop, 0, "rna_Lamp_update");
|
||||
|
||||
|
@ -775,7 +775,7 @@ static void rna_def_tool_settings(BlenderRNA *brna)
|
||||
RNA_def_property_float_sdna(prop, NULL, "normalsize");
|
||||
RNA_def_property_ui_text(prop, "Normal Size", "Display size for normals in the 3D view.");
|
||||
RNA_def_property_range(prop, 0.00001, 1000.0);
|
||||
RNA_def_property_ui_range(prop, 0.01, 10.0, 0.1, 2);
|
||||
RNA_def_property_ui_range(prop, 0.01, 10.0, 10.0, 2);
|
||||
RNA_def_property_update(prop, NC_GEOM|ND_DATA, NULL);
|
||||
|
||||
prop= RNA_def_property(srna, "automerge_editing", PROP_BOOLEAN, PROP_NONE);
|
||||
|
Loading…
Reference in New Issue
Block a user