Fix T44452: Inconsistent gpencil color in prefs
This commit is contained in:
parent
fa761dfe6d
commit
6bc26540c2
@ -3648,7 +3648,7 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
|||||||
RNA_def_property_ui_text(prop, "Grease Pencil Eraser Radius", "Radius of eraser 'brush'");
|
RNA_def_property_ui_text(prop, "Grease Pencil Eraser Radius", "Radius of eraser 'brush'");
|
||||||
|
|
||||||
|
|
||||||
prop = RNA_def_property(srna, "grease_pencil_default_color", PROP_FLOAT, PROP_COLOR);
|
prop = RNA_def_property(srna, "grease_pencil_default_color", PROP_FLOAT, PROP_COLOR_GAMMA);
|
||||||
RNA_def_property_float_sdna(prop, NULL, "gpencil_new_layer_col");
|
RNA_def_property_float_sdna(prop, NULL, "gpencil_new_layer_col");
|
||||||
RNA_def_property_array(prop, 4);
|
RNA_def_property_array(prop, 4);
|
||||||
RNA_def_property_ui_text(prop, "Grease Pencil Default Color", "Color of new Grease Pencil layers");
|
RNA_def_property_ui_text(prop, "Grease Pencil Default Color", "Color of new Grease Pencil layers");
|
||||||
|
Loading…
Reference in New Issue
Block a user