Skip to content

Commit

Permalink
Fix render pass image util
Browse files Browse the repository at this point in the history
  • Loading branch information
carson-katri committed Jun 3, 2024
1 parent 1aab036 commit 8779c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 8779c3b

Please sign in to comment.