Fix #119427: UI: The Metadata is gone for the rendered image #119503

Merged
Sergey Sharybin merged 3 commits from Sergey/blender:fix_119427 into blender-v4.1-release 2024-03-15 15:24:43 +01:00

3 Commits

Author SHA1 Message Date
Sergey Sharybin d0e589b471 Fix incorrect mutex acquisition
buildbot/vexp-code-patch-lint Build done. Details
buildbot/vexp-code-patch-linux-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-x86_64 Build done. Details
buildbot/vexp-code-patch-darwin-arm64 Build done. Details
buildbot/vexp-code-patch-windows-amd64 Build done. Details
buildbot/vexp-code-patch-coordinator Build done. Details
2024-03-15 14:39:15 +01:00
Sergey Sharybin 7661e4b875 Fix potential threading issue
Acquire the result mutex, similarly how it is done for stamping, but do
it once for all render passes.
2024-03-15 14:33:34 +01:00
Sergey Sharybin bdcae32daf Fix #119427: UI: The Metadata is gone for the rendered image
This is a regression since d579ac2b3f

Ensure that the image buffers used by render passes have metadata at the
end of render, similarly to how stamping happens. This solves the reported
issue, and makes the metadata behave consistently, independent on how the
image buffer is accessed.

Thanks Philipp Oeser for investigation and pin-pointing the bad commit!
2024-03-15 11:18:09 +01:00