Viewer: pick animations from dropdowns instead of typing the name #371
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/holdmysocks--SixNG!371
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/371/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@holdmysocks on GitHub · 2026-11-26 15:53 UTC · original
holdmysocks:animation-picker→master· +399 −63 · 5 files · 2 commits · merged 2026-11-26 16:12 UTCThe model viewer's Animation section no longer needs a typed
<dictionary>/<clip>name. Two dropdowns pick the animation instead, for characters and for animals. Tracked in SIX-230.Viewer
moveoridle).index/anim.clipdicts.json, or about a minute readinganim.rpfthe first time), and a dictionary's clips when it is picked. The old animal list read the cache on the UI thread.anim.rpf@…) or a cutscene (cin@<scene>). It opens by itself when the current name is one of those. Walk and None stay.--animand the clip loader are unchanged.Core (
sixng_core::anim)is_creature_dictionary,species_words(moved from the viewer),ClipFitwithfitting_dictionaries,name_matches,clip_list/ClipInfo, anddefault_clip. The clip loader now usesdefault_clip.Docs: the README's Animation entry describes the dropdowns.
Testing:
cargo test --locked -p sixng-core -p sixng-guipasses (321 and 51 tests), and the no-default-features check builds without warnings. The dropdowns have not been clicked through in a running viewer.The Animation section of characters and animals lists the clip dictionaries that fit the model, with a filter field, then the clips of the picked one. Both lists are read on worker threads. A text box for typed or pasted names stays behind the pencil button. Core: anim::{is_creature_dictionary, species_words, ClipFit, fitting_dictionaries, name_matches, clip_list, default_clip}, with tests. SIX-230