blender/intern
Lukas Stockner 1c27cc5529 Fix T92416: First render with unknown image colorspace looks different
The issue here was that the Barbershop benchmark scene was saved with a
custom OCIO config, which leads to some textures having a unknown
colorspace when loading with a default installation.

This is automatically fixed by Blender during image loading, but since
Cycles queried the colorspace before actually loading the image, it
didn't get the updated value in the first render.

To fix this, just re-query the colorspace after the image is loaded.

Note that non-packed images still get treated as raw data if the
colorspace is unknown, but this is at least consistent and doesn't
magically change when you press F12 a second time.

Differential Revision: https://developer.blender.org/D16427
2022-11-17 16:52:04 +01:00
..
atomic Cleanup: remove workarounds and version checks for unsupported compilers 2022-09-27 07:05:13 +10:00
audaspace CMake: fix AUDASPACE disabling WITH_PYTHON for Blender 2022-05-20 11:18:49 +10:00
clog File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
cycles Fix T92416: First render with unknown image colorspace looks different 2022-11-17 16:52:04 +01:00
dualcon Cleanup: Compilation warnings 2022-03-18 12:07:08 +01:00
eigen File headers: manually convert files to use SPDX headers 2022-02-11 15:15:49 +11:00
ffmpeg Video rendering: FFMpeg AV1 codec encoding support 2022-10-21 20:10:17 -06:00
ghost GHOST/Wayland: add missing lock in setWindowCursorShape 2022-11-16 21:35:56 +11:00
guardedalloc Fix T102225: Crash opening menus 2022-11-03 14:32:04 +01:00
iksolver Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
itasc Cleanup: remove argument to doxygen \file 2022-03-25 12:10:30 +11:00
libc_compat Fix compilation on Linux, glibc 2.34, and CentOS libraries 2022-09-13 10:38:42 +02:00
libmv Cleanup: replace C-style casts with functional casts for numeric types 2022-09-25 22:31:31 +10:00
locale File headers: add missing copyright, add MIT to SPDX licenses 2022-02-11 14:56:03 +11:00
mantaflow Fix T102257: Crash when making an Object as Effector set to Guide and trying to scrub the timeline 2022-11-09 12:13:51 -03:00
memutil File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
mikktspace Cleanup: spelling in comments 2022-10-10 11:22:41 +11:00
opencolorio Metal: GLSL shader compatibility changes for global uniform and interface name collision. 2022-09-22 17:53:56 +02:00
opensubdiv Fix: OpenSubdiv reporting version 0.0.0 in system_info.txt 2022-11-12 13:31:55 -07:00
openvdb File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
quadriflow File headers: SPDX License migration 2022-02-11 09:14:36 +11:00
rigidbody Cleanup: spelling in comments, capitalize tags 2022-05-13 09:29:25 +10:00
sky Cleanup: replace C-style casts with functional casts for numeric types 2022-09-26 17:58:36 +10:00
utfconv Cleanup: use C++ comments for disabled code 2022-04-13 13:47:04 +10:00
wayland_dynload GHOST/Wayland: improve workaround for libdecor setting the window state 2022-11-16 12:31:29 +11:00
CMakeLists.txt GPU: replace GLEW with libepoxy 2022-08-15 16:10:29 +02:00