Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilipp Oeser <info@graphics-engineer.com>2021-08-19 15:03:48 +0300
committerPhilipp Oeser <info@graphics-engineer.com>2021-08-23 14:54:52 +0300
commit5aa3167e48b202f4883ce948ba8e3469e3eaf3ec (patch)
treeb174ca7b49096d5d85000496d4fb49a01708878a /source/blender/blenkernel/intern
parent8165333de9d52e9c5bd4bea4c15d00d5f2092d47 (diff)
Fix T90772: Image Editor not sampling color from the the currently
selected pass Caused by {rBebaa3fcedd23}. Seems this above commit assumed an ImageUser's multi_index is only used for Multiview/Stereo? This is not the case, multi_index also stores the index for layer/pass combination. If we call both BKE_image_multilayer_index and BKE_image_multiview_index (even though this is not appropriate/needed for multilayer images?), we might end up overwriting multi_index again. note: looking at this I was also wondering why we update the ImageUser in image-buffer-aquiring funnctions [and not from the UI, e.g. template_image_layers, but that is a whole different story I guess, see comment in T90772 as well] note2: this could also use a utility function (this is not the only place where this is done), this is fo a cleanup commit. Maniphest Tasks: T90772 Differential Revision: https://developer.blender.org/D12267
Diffstat (limited to 'source/blender/blenkernel/intern')
0 files changed, 0 insertions, 0 deletions