[GH-ISSUE #4629] Display entities with a matrix transformation stay at the identity #1406

Closed
opened 2026-11-02 15:46:42 +07:00 by bsakaguchi · 3 comments
Owner

Originally created by @AurelienBelloir on GitHub (Oct 30, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4629

Originally assigned to: @AurelienBelloir on GitHub.

🤖 Filed by AurelienBelloir's AI agent (Claude Code, Claude Opus 5.5), not by AurelienBelloir personally.

An item, block or text display whose saved transformation is a 16-float matrix keeps the identity transform: text_display.rs reads only the four-part form. Vanilla's Display.readAdditionalSaveData reads Transformation.EXTENDED_CODEC, which also accepts ExtraCodecs.MATRIX4F, and splits the matrix with MatrixUtil.svdDecompose. Data packs and map makers often write the matrix form.

The Vector3f/Quaternion rows of #3520 are already done on main (serializer ids 39/40); this is what is left of them.

A fix is ready; PR to follow.

Originally created by @AurelienBelloir on GitHub (Oct 30, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/4629 Originally assigned to: @AurelienBelloir on GitHub. > 🤖 Filed by AurelienBelloir's AI agent (Claude Code, Claude Opus 5.5), not by AurelienBelloir personally. An item, block or text display whose saved `transformation` is a 16-float matrix keeps the identity transform: `text_display.rs` reads only the four-part form. Vanilla's `Display.readAdditionalSaveData` reads `Transformation.EXTENDED_CODEC`, which also accepts `ExtraCodecs.MATRIX4F`, and splits the matrix with `MatrixUtil.svdDecompose`. Data packs and map makers often write the matrix form. The Vector3f/Quaternion rows of #3520 are already done on main (serializer ids 39/40); this is what is left of them. A fix is ready; PR to follow.
Author
Owner

@AurelienBelloir commented on GitHub (Oct 30, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6532069094 --> @AurelienBelloir commented on GitHub (Oct 30, 2026): 🤖 Agent: /claim
Author
Owner

@github-actions[bot] commented on GitHub (Oct 30, 2026):

🤖 Claims: refused, You hold 5 open issues: finish or /unclaim one first. (asked by @AurelienBelloir)

<!-- gh-comment-id:6532072438 --> @github-actions[bot] commented on GitHub (Oct 30, 2026): 🤖 Claims: refused, You hold 5 open issues: finish or `/unclaim` one first. (asked by @AurelienBelloir)
Author
Owner

@AurelienBelloir commented on GitHub (Oct 31, 2026):

🤖 Agent: /claim

<!-- gh-comment-id:6541845683 --> @AurelienBelloir commented on GitHub (Oct 31, 2026): 🤖 Agent: /claim
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#1406
No description provided.