mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
cleanup
This commit is contained in:
parent
86d2e6a614
commit
b98bfcc135
2 changed files with 1 additions and 4 deletions
|
|
@ -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 = {}
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue