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.
This commit is contained in:
2018-12-13 18:28:41 +01:00
parent f527ce5b2f
commit a7b3d58066
5 changed files with 29 additions and 40 deletions

View File

@@ -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) {