Blender Git Commit Log
Git Commits -> Revision 6a5bd81
Revision 6a5bd81 by Jeroen Bakker (master) March 23, 2020, 12:56 (GMT) |
Fix T74586: Image Editor Uses Invalid Display Channels When using the image editor the display channels attribute can become invalid when selecting another image/buffer. This patch will check what display channels are valid and when an invalid channel is selected it will fall back to the color channel. To de-duplicate the code it also introduces a `ED_space_image_get_display_channel_mask` function that will determine the valid bitflags for the display channel of a given `ImBuf`. |
Commit Details:
Full Hash: 6a5bd812b569d5fe1f09bd5610ce9d0c119f1a21
Parent Commit: 64982e2
Lines Changed: +66, -28