Animation picker: animal species from the model list, short button text, screenshots wait for the lists #389

Manually merged
github merged 1 commit from gh-pr/389/head into gh-pr/389/base 2026-11-26 20:32:42 +00:00
Owner

@⁠holdmysocks on GitHub · 2026-11-26 18:06 UTC · original
holdmysocks:animation-picker-fixes → master · +44 −16 · 3 files · 1 commits · merged 2026-11-26 18:14 UTC

Follow-up to #371 (SIX-230). These fixes come from trying the animation dropdowns in a running viewer, with real clicks and typing on a character (cs_byron_dugal) and an animal (crm_deer_whitetailed_m_00).

Fixes

  • Animals opened from the model list got every animal dictionary (5,367). In the viewer, an animal's source line is packs.rpf@45904010 crm_deer_whitetailed_m_00 (+6 parts), and the species lookup only read the first word, the entry id. The old animal list had the same problem and showed none. anim::species_words now uses the first word that is a model name, so the deer gets its 148 dictionaries. A test case covers this.
  • A long dictionary name widened the whole right-hand panel. The dropdown buttons now show the end of the name (…aul@normal@standing@walk@stance_neutral), and the full name is in the tooltip and in the ✏ box.
  • Screenshot automation now waits until the dictionary and clip lists have loaded. It checks ClipPicker::busy alongside the other loads in the model view's idle check.

Checked in the viewer (low priority, own build)

  • Character: 56,139 dictionaries. Typing "walk raul" narrows the list to 4. Picking one shows its 3 clips with durations, and move / turn_l1 play.
  • Deer: 148 dictionaries. Picking one plays it (74 of 76 bone tracks).
  • ✏ opens the text box with the full name.

Tests: cargo test --locked -p sixng-core -p sixng-gui passes (322 and 51).

Two crashes seen while testing, not caused by this change and not fixed here: SIX-234 (the frame-timer read-back buffer is unmapped after it was destroyed, about 1 run in 5) and SIX-235 (switching from a character to an animal overruns the joints buffer, every time).

**@⁠holdmysocks** on GitHub · 2026-11-26 18:06 UTC · [original](https://github.com/holdmysocks/SixNG/pull/389) `holdmysocks:animation-picker-fixes` → `master` · +44 −16 · 3 files · 1 commits · merged 2026-11-26 18:14 UTC Follow-up to #371 (SIX-230). These fixes come from trying the animation dropdowns in a running viewer, with real clicks and typing on a character (cs_byron_dugal) and an animal (crm_deer_whitetailed_m_00). **Fixes** - **Animals opened from the model list got every animal dictionary (5,367).** In the viewer, an animal's source line is `packs.rpf@45904010 crm_deer_whitetailed_m_00 (+6 parts)`, and the species lookup only read the first word, the entry id. The old animal list had the same problem and showed none. `anim::species_words` now uses the first word that is a model name, so the deer gets its 148 dictionaries. A test case covers this. - **A long dictionary name widened the whole right-hand panel.** The dropdown buttons now show the end of the name (`…aul@normal@standing@walk@stance_neutral`), and the full name is in the tooltip and in the ✏ box. - **Screenshot automation now waits until the dictionary and clip lists have loaded.** It checks `ClipPicker::busy` alongside the other loads in the model view's idle check. **Checked in the viewer (low priority, own build)** - Character: 56,139 dictionaries. Typing "walk raul" narrows the list to 4. Picking one shows its 3 clips with durations, and `move` / `turn_l1` play. - Deer: 148 dictionaries. Picking one plays it (74 of 76 bone tracks). - ✏ opens the text box with the full name. **Tests:** `cargo test --locked -p sixng-core -p sixng-gui` passes (322 and 51). **Two crashes seen while testing, not caused by this change and not fixed here:** SIX-234 (the frame-timer read-back buffer is unmapped after it was destroyed, about 1 run in 5) and SIX-235 (switching from a character to an animal overruns the joints buffer, every time).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:32:42 +00:00
github manually merged commit ec07378489 into gh-pr/389/base 2026-11-26 20:32:42 +00:00
This discussion has been locked. Commenting is limited to contributors.
No description provided.