frame allocs (25.2): ludic.anim's pose scratch made with its state (pose_part, the name no longer taken for udp_ip's part), a model's clips read at its load declared
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
cd71da9330
commit
384324c85a
3 changed files with 15 additions and 14 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
# Call it straight after a load and before the next one: `gltf_doc` and `gltf_bin` point at
|
||||
# whichever file was read last, so a clip that is not taken now cannot be taken later.
|
||||
@alloc_ok("a model's clips read as it loads, once per file")
|
||||
export function anim_read_doc(anim_st: mut AnimState, render3d_st: mut Render3dState, dir: string) -> int {
|
||||
clips_init()
|
||||
if render3d_st.gltf_doc == null { return 0 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue