diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-04-30 10:55:31 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-04-30 10:55:31 +0300 |
commit | 328da1259893d8ac73bc7e3160e2b9538c82dfe8 (patch) | |
tree | a29ed33c12b469e775a8b828cea5793e6101c424 /source | |
parent | 02c77e4e5c953202aaac0fb5ab673b6da293a257 (diff) | |
parent | 2b094be9493dd1022a5f07ed1a1cde69670474d8 (diff) |
Merge branch 'blender-v2.83-release'
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/editors/sculpt_paint/paint_image.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image.c b/source/blender/editors/sculpt_paint/paint_image.c index d913bc2e242..e227db1c644 100644 --- a/source/blender/editors/sculpt_paint/paint_image.c +++ b/source/blender/editors/sculpt_paint/paint_image.c @@ -388,6 +388,10 @@ void paint_brush_color_get(struct Scene *scene, break; } } + /* Gradient / Colorband colors are not considered PROP_COLOR_GAMMA. + * Brush colors are expected to be in sRGB though. */ + IMB_colormanagement_scene_linear_to_srgb_v3(color_gr); + copy_v3_v3(color, color_gr); } else { |