Overlay: Adjustment of the max value of "Edge Width" from 5 to 32.
The first implementation based the max value on what seemed reasonable. It was therefore limited it to 5. I received a request from a user in the first already merged #104741 to allow a higher max value. Thus I adjusted the max value to be the same as the max value used for "Vertex Size", 32. Pull Request: https://projects.blender.org/blender/blender/pulls/105544
This commit is contained in:
committed by
Clément Foucault
parent
6398c9cd7f
commit
2282272787
@@ -2220,7 +2220,7 @@ static void rna_def_userdef_theme_space_view3d(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
|
||||
prop = RNA_def_property(srna, "edge_width", PROP_INT, PROP_PIXEL);
|
||||
RNA_def_property_range(prop, 1, 5);
|
||||
RNA_def_property_range(prop, 1, 32);
|
||||
RNA_def_property_ui_text(prop, "Edge Width", "");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
|
||||
@@ -3069,7 +3069,7 @@ static void rna_def_userdef_theme_space_image(BlenderRNA *brna)
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
|
||||
prop = RNA_def_property(srna, "edge_width", PROP_INT, PROP_PIXEL);
|
||||
RNA_def_property_range(prop, 1, 5);
|
||||
RNA_def_property_range(prop, 1, 32);
|
||||
RNA_def_property_ui_text(prop, "Edge Width", "");
|
||||
RNA_def_property_update(prop, 0, "rna_userdef_theme_update");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user