Animation system - Bone animation update #7

Closed
opened 2025-03-27 12:40:15 +00:00 by Onek8 · 1 comment

When armatures are not set to autobake, the bone animation system will crash. Current workaround is to add a set of 2 keyframes on an armature action so the animation system proceeds.

Trace: TypeError: Cannot read properties of undefined (reading 'tracks')
at iron_object_BoneAnimation.updateActionTrack (:11090:40)
at iron_object_BoneAnimation.update (:9575:10)
at iron_object_BoneAnimation.update (:10346:9)
at iron_Scene.updateFrame (:2725:9)
at update (:1589:21)
at kha_TimeTask.task (:30319:4)
at kha_Scheduler.executeTimeTasks (:30202:76)
at kha_Scheduler.executeFrame (:30152:18)
at renderCallback (:31081:17)

When armatures are not set to autobake, the bone animation system will crash. Current workaround is to add a set of 2 keyframes on an armature action so the animation system proceeds. Trace: TypeError: Cannot read properties of undefined (reading 'tracks') at iron_object_BoneAnimation.updateActionTrack (<anonymous>:11090:40) at iron_object_BoneAnimation.update (<anonymous>:9575:10) at iron_object_BoneAnimation.update (<anonymous>:10346:9) at iron_Scene.updateFrame (<anonymous>:2725:9) at update (<anonymous>:1589:21) at kha_TimeTask.task (<anonymous>:30319:4) at kha_Scheduler.executeTimeTasks (<anonymous>:30202:76) at kha_Scheduler.executeFrame (<anonymous>:30152:18) at renderCallback (<anonymous>:31081:17)
Owner

Resolved in
ca8fd0b357

Resolved in https://dev.leenkx.com/LeenkxTeam/LNXSDK/commit/ca8fd0b357c86ef0548231476d319bd8c5168cc4
Sign in to join this conversation.
No Label
No Milestone
No project
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: LeenkxTeam/LNXSDK#7
No description provided.