1
1

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:
2022-08-10 13:30:31 +02:00
parent 79953d5482
commit 9596907363

View File

@@ -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;
}