Commit: 6bc26540c2a46d9324c14aee06a17aac6efc3077
Author: Campbell Barton
Date:   Mon Apr 20 21:20:39 2015 +1000
Branches: master
https://developer.blender.org/rB6bc26540c2a46d9324c14aee06a17aac6efc3077

Fix T44452: Inconsistent gpencil color in prefs

===================================================================

M       source/blender/makesrna/intern/rna_userdef.c

===================================================================

diff --git a/source/blender/makesrna/intern/rna_userdef.c 
b/source/blender/makesrna/intern/rna_userdef.c
index ef52fe2..b5ce031 100644
--- a/source/blender/makesrna/intern/rna_userdef.c
+++ b/source/blender/makesrna/intern/rna_userdef.c
@@ -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");

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to