Color management: Query default view from display
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 5 Dec 2018 11:06:48 +0000 (12:06 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 5 Dec 2018 13:11:21 +0000 (14:11 +0100)
commitb927d196969bd0bb28ba300a31df3d294443df26
treefaed1387d01b29306181e1caabce872916898928
parent9c7f01b9058409838f9087fdc57fadc1a4d505a1
Color management: Query default view from display

Solves weird situation when default display name is queried
from OCIO, but Default view being assumed to be set for it.

Now view is initialized to a default view of that display.
source/blender/blenkernel/BKE_colortools.h
source/blender/blenkernel/intern/colortools.c
source/blender/blenkernel/intern/image.c
source/blender/blenkernel/intern/scene.c
source/blender/imbuf/IMB_colormanagement.h
source/blender/imbuf/intern/colormanagement.c