diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-12-13 20:28:41 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-12-13 21:25:47 +0300 |
commit | a7b3d58066a18c63037051477e45528380c5decf (patch) | |
tree | 2e6e0199b408d8230c461a45106e71351bd5b623 /source/blender/editors/interface/interface.c | |
parent | f527ce5b2f5bb300a7fe55db33d1e3a4da8051c7 (diff) |
Fix T58014, T58650: issues with hex color and Filmic view transform.
Hex color values are now always in sRGB space, as would be expected by
most other applications. Previously they were in display space and using
the view transform.
Diffstat (limited to 'source/blender/editors/interface/interface.c')
-rw-r--r-- | source/blender/editors/interface/interface.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/source/blender/editors/interface/interface.c b/source/blender/editors/interface/interface.c index 2a4dfc210b0..c63ffc87b8e 100644 --- a/source/blender/editors/interface/interface.c +++ b/source/blender/editors/interface/interface.c @@ -3289,13 +3289,6 @@ void ui_block_cm_to_display_space_v3(uiBlock *block, float pixel[3]) IMB_colormanagement_scene_linear_to_display_v3(pixel, display); } -void ui_block_cm_to_scene_linear_v3(uiBlock *block, float pixel[3]) -{ - struct ColorManagedDisplay *display = ui_block_cm_display_get(block); - - IMB_colormanagement_display_to_scene_linear_v3(pixel, display); -} - static uiBut *ui_but_alloc(const eButType type) { switch (type) { |