This commit is contained in:
MihailRis 2026-09-08 19:39:03 +03:00
parent 86d2e6a614
commit b98bfcc135
2 changed files with 1 additions and 4 deletions

View file

@ -10,7 +10,7 @@ local this = {
INT_LINEAR = 2,
INT_BEZIER = 3,
TRACE_CODEGEN = true,
TRACE_CODEGEN = false,
}
local INT_CONST = this.INT_CONST
@ -156,7 +156,6 @@ local function codegen_track(raw_track, lineset, memoised, keysets, use_tsf)
code = code .. "\n local l" .. i .. " = (" ..
process_expression(line.expression, memoised) .. ")"
elseif line.keys then
debug.print(raw_track)
local target_keysets = keysets[lineset.target_name]
if not target_keysets then
target_keysets = {}

View file

@ -93,13 +93,11 @@ local function parse_track(root)
table.insert(lineset.lines, line)
::continue::
end
debug.print(raw_track)
return raw_track
end
local function load_vca(source, filepath)
local raw_track = parse_track(xml.parse_vcd(source, "track"))
debug.print(raw_track)
return animation.compile_track(raw_track, filepath)
end