Fix Blender 5.2 texture readback corruption - #67
Open
ThinkWithPbody wants to merge 1 commit into
Open
Conversation
ThinkWithPbody
marked this pull request as ready for review
August 10, 2026 20:12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
is_flippedbehaviorThis fixes the diagonal/corrupted output reported with Blender 5.2, where the buffer returned by
GPUTexture.read()already has the expected layout.Fixes #63.
Validation
python -m py_compile fbs/spout/SpoutServer.py fbs/ndi/NDIServer.pygit diff --checkCycles
We were unable to produce scene output from Cycles. The shared frame remained black except for viewport UI overlays, although Blender's own Cycles viewport rendered the scene. Camera movement updated the overlays, and changing exposure had no effect. This PR does not attempt to change the capture architecture or address that separate limitation.
Review note
This patch was produced using agentic coding with OpenAI Codex. Although the final code change is intentionally very small, it needs human review before merging.