Blender Git Loki

Git Commits -> Revision b123aad

Revision b123aad by Philipp Oeser (master)
February 23, 2021, 17:32 (GMT)
Fix T85895: Viewing value passes in Image Editor displays the value as alpha

There was a similar report prior to the introduction of the Image
Engine, see T74586.
This was fixed by rB6a5bd812b569 at that time, but got lost in the
refactor it seems.

Above commit introduced the `ED_space_image_get_display_channel_mask`
function that will determine
the valid bitflags for the display channel of a given ImBuf.

But since the refactor, this is not called anymore (`draw_image_main` is
not called anymore)
Now it seems we can safely reuse that said function
`ED_space_image_get_display_channel_mask` also for the Image Engine.

Maniphest Tasks: T85895

Differential Revision: https://developer.blender.org/D10510

Commit Details:

Full Hash: b123aadeeebe20317183c7c9d833caee1eb7e59b
Parent Commit: 64c3576
Lines Changed: +9, -7

1 Modified Path:

/source/blender/draw/engines/image/image_engine.c (+9, -7) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021