From 8779c3bc9a3efe4c23c0ced2a74fcbf098c10e1b Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sun, 2 Jun 2024 20:19:40 -0400 Subject: [PATCH] Fix render pass image util --- image_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image_utils.py b/image_utils.py index 852c9f0a..0493a4c2 100644 --- a/image_utils.py +++ b/image_utils.py @@ -689,7 +689,7 @@ def np_to_render_pass( array = to_dtype(array, dtype) if top_to_bottom: array = np.flipud(array) - render_pass.rect.foreach_set(array.reshape(-1, render_pass.channels)) + render_pass.rect.foreach_set(array.reshape(-1)) def _mode(array, mode):