diff options
author | Philipp Oeser <info@graphics-engineer.com> | 2020-03-31 18:51:50 +0300 |
---|---|---|
committer | Philipp Oeser <info@graphics-engineer.com> | 2020-04-01 11:11:54 +0300 |
commit | 029a714fc72d79a4dc8d80c3397c308112a7fea9 (patch) | |
tree | dfa9066a88bf01d7d32aff64e2d7768e0d3664f0 /source/blender/editors/screen/screen_context.c | |
parent | 59e001cbf6c40f7b8630a995acd9aec315e73501 (diff) |
Fix T75234: Saving UDIM tiled texture as OpenEXR saves only the first
tile
This happened when the UDIM tiled image needed to be colormanaged, so
- when you set up the image as sRGB, then save as EXR/HDR/...
- other way around as well: when you set up the images as Linear then
save as PNG/JPG/...
Reason being that for UDIM tiled images, `image_save_single` is called
multiple times [once for each tile] and everytime `image_save_post` will
fire the `IMA_SIGNAL_COLORMANAGE` signal which clears the cache if any of
the above two is the case. Without the cache, the next tiles cannot be
saved.
Now determine if the colorspace changed from
`image_save_single`/'image_save_post' and only fire
IMA_SIGNAL_COLORMANAGE once from BKE_image_save in the end.
(thx @brecht for suggesting this alternative to the original fix)
Maniphest Tasks: T75234
Differential Revision: https://developer.blender.org/D7296
Diffstat (limited to 'source/blender/editors/screen/screen_context.c')
0 files changed, 0 insertions, 0 deletions