Fix T37670: Paint mode + procedural map colours error
authorSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Dec 2013 16:13:15 +0000 (22:13 +0600)
committerSergey Sharybin <sergey.vfx@gmail.com>
Tue, 3 Dec 2013 16:13:15 +0000 (22:13 +0600)
commitd3f3fb89cc2f5745df2b2c1adb0b4db047a3303c
treef184d8330d2a3d7aebab509832362450dd5e4224
parente63d5f23565a4fe426f45fec4152d55a7eafb2d8
Fix T37670: Paint mode + procedural map colours error

Summary:
Seems to be known TODO in the code, but no idea why it
was never solved, especially since tweak is so much easy.

It might be arguable that we need to support painting
color space, but it's still much better to convert to
sRGB space. It's gonna to cover 90% of cases anyway.

Reviewers: campbellbarton, brecht

Reviewed By: brecht

Maniphest Tasks: T37670

Differential Revision: http://developer.blender.org/D65
source/blender/blenkernel/intern/brush.c
source/blender/editors/sculpt_paint/paint_image_2d.c
source/blender/editors/sculpt_paint/paint_image_proj.c