Fix T86219: Compositor backdrop not using Color Management View
Transforms in certain cases This was caused by wrong flag checking in {rB278011e44d43}, which just seems to be a copy-paste error. For example, enabeling 'Auto-Offset' in the View menu would lead to CM being ignored. Maniphest Tasks: T86219 Differential Revision: https://developer.blender.org/D10751
This commit is contained in:
parent
decfd5c169
commit
aeff59073b
Notes:
blender-bot
2023-02-14 02:22:07 +01:00
Referenced by issue #86219, Color Management View Transforms no longer reflected in the Compositor Backdrop
|
@ -359,8 +359,8 @@ static void drw_viewport_colormanagement_set(void)
|
|||
}
|
||||
else if (DST.draw_ctx.space_data && DST.draw_ctx.space_data->spacetype == SPACE_NODE) {
|
||||
SpaceNode *snode = (SpaceNode *)DST.draw_ctx.space_data;
|
||||
const eSpaceImage_Flag display_channels_mode = snode->flag;
|
||||
const bool display_color_channel = (display_channels_mode & (SI_SHOW_ALPHA)) == 0;
|
||||
const eSpaceNode_Flag display_channels_mode = snode->flag;
|
||||
const bool display_color_channel = (display_channels_mode & SNODE_SHOW_ALPHA) == 0;
|
||||
if (display_color_channel) {
|
||||
use_render_settings = true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue