diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2015-01-06 17:48:02 +0300 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2015-01-06 17:48:18 +0300 |
commit | 05271830901401dd6a395f730990a6ac1ca6a6d6 (patch) | |
tree | 4463e7e96068c34b3d68186149f18c8edfa101c1 /source | |
parent | d36fb8e34e62a53d212b3965fd9d8b7fc9a27a2a (diff) |
Fix copy-paste of colors to generated color not being correct. '
Change generated color property to gamma space to match the add new
image operator.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_image.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_image.c b/source/blender/makesrna/intern/rna_image.c index 397e03a9ee1..b1935b34251 100644 --- a/source/blender/makesrna/intern/rna_image.c +++ b/source/blender/makesrna/intern/rna_image.c @@ -675,7 +675,7 @@ static void rna_def_image(BlenderRNA *brna) RNA_def_property_update(prop, NC_IMAGE | ND_DISPLAY, "rna_Image_generated_update"); RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); - prop = RNA_def_property(srna, "generated_color", PROP_FLOAT, PROP_COLOR); + prop = RNA_def_property(srna, "generated_color", PROP_FLOAT, PROP_COLOR_GAMMA); RNA_def_property_float_sdna(prop, NULL, "gen_color"); RNA_def_property_array(prop, 4); RNA_def_property_ui_text(prop, "Color", "Fill color for the generated image"); |