Fix T44452: Inconsistent gpencil color in prefs

This commit is contained in:
Campbell Barton 2015-04-20 21:20:39 +10:00
parent fa761dfe6d
commit 6bc26540c2
Notes: blender-bot 2023-02-14 09:13:16 +01:00
Referenced by issue #44452, Inconsistent color RGB values across preferences
1 changed files with 1 additions and 1 deletions

View File

@ -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'");
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_array(prop, 4);
RNA_def_property_ui_text(prop, "Grease Pencil Default Color", "Color of new Grease Pencil layers");