fix key frames based animation

This commit is contained in:
MihailRis 2026-09-05 20:18:17 +03:00
parent 32876aa9e4
commit 7f15cd897c
2 changed files with 31 additions and 15 deletions

View file

@ -69,7 +69,11 @@ local function parse_track(root)
local target_name = node.bone or ""
local lineset = linesets[target_name]
if not lineset then
lineset = {lines = {}, target_type = target_type}
lineset = {
lines = {},
target_type = target_type,
target_name = target_name
}
linesets[target_name] = lineset
end