Realtime Compositor: Allow in material preview mode
This patch allows the viewport compositor to operate in Material Preview mode. Differential Revision: https://developer.blender.org/D15655 Reviewed By: Clement Foucault
This commit is contained in:
parent
79953d5482
commit
9596907363
|
@ -1226,7 +1226,7 @@ static bool is_compositor_enabled(void)
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!(DST.draw_ctx.v3d->shading.type > OB_MATERIAL)) {
|
||||
if (!(DST.draw_ctx.v3d->shading.type >= OB_MATERIAL)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue