Repository navigation
A unit's parts flagged 0x08 leave the mouse pick too - #3036
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
ornfelt
added a commit
to ornfelt/benilla
that referenced
this pull request
Nov 20, 2026
Upstream: https://github.com/samwhosung/benilla Upstream changes: - Mouse pick skips texture units flagged 0x08 (samwhosung#3032, the fork's own 11a21a6 upstreamed), and a unit's skinned parts flagged 0x08 leave the posed pick too (samwhosung#3036) - Script calls keep the host's SystemState between exclusive entries (samwhosung#3026) - Chat: held lines kept in a BTreeMap, so a release pass no longer shifts them (samwhosung#3025) - Sound tests join the tap writers and wait on the decode ring instead of sleeping (samwhosung#3037) - Timing tests hold on a loaded machine (samwhosung#3035) Conflicts resolved: - crates/benilla-world/src/interact/pick.rs: the same 0x08 pick change on both sides, differing only in rustfmt layout of one assert; took upstream's, so the file matches upstream
ornfelt
added a commit
to ornfelt/benilla
that referenced
this pull request
Nov 20, 2026
…ung#3032, samwhosung#3035, samwhosung#3036, samwhosung#3037 and the fork's merge) - no conflicts, nothing adapted: the branch's difference from main is byte-identical before and after (feature-off path still equals main), no gfx trigger (pick, hover, chat feed, script-call state cache, timing and sound tests); cargo check --workspace --all-targets with and without gfx clean, benilla-world pick and terrain_stream, benilla-formats m2_no_hit_test and m2_billboard_card_face and benilla-app hover, chat feed, sound, frame_step, server_alert, cvars, attach and script_calls tests with gfx green at dev-fast (script_calls' eight_nested_switches_fit_a_two_megabyte_stack overflows its 2 MB thread at dev-fast's opt-level 0, with and without gfx, and passes at dev with gfx), built on Windows only
ornfelt
added a commit
to ornfelt/benilla
that referenced
this pull request
Nov 20, 2026
…ung#3032, samwhosung#3035, samwhosung#3036, samwhosung#3037 and the fork's merge) - one conflict, in the branch's gfx-only stall test (frame_step_tests.rs): upstream's 8 + 2 frames measured from `since` are taken on the branch's plain `app.update()` frame, the comment naming gfx's frame-start stamp; no gfx trigger (pick, hover, chat feed, script-call state cache, timing and sound tests), no schedule change (frame test green); cargo check --workspace --all-targets clean, benilla-world pick and terrain_stream, benilla-formats m2_no_hit_test and benilla-app frame, frame_step, hover, chat feed, sound, server_alert, cvars, attach and script_calls tests green at dev-fast (script_calls' eight_nested_switches_fit_a_two_megabyte_stack overflows its 2 MB thread at dev-fast's opt-level 0 on main's code too and passes at dev on gfx-dll-backend), built on Windows only
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.
The scene ray skips a texture unit whose flags byte has bit 0x08 before testing its triangles (
test cl,0x8at0x70902f), and #3032 brought that rule to GameObjects and doodads. A unit's skinned parts go through the posed pick instead, which still tested them, so a totem's flagged glow units (Healing 9 of 12, Air and the elementals 6 of 7) and the Goblin model's flagged unit took clicks the reference never gives them.posed_partsnow drops a part whosePickMeshis out of the hit test, for the body, what it wears and its mount alike. Test: of a unit's plain and flagged parts, only the plain one reaches the posed pick.Fixes #3031
🤖 Generated with Claude Code