mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix vca duration calculation
This commit is contained in:
parent
7f15cd897c
commit
2104bc7670
2 changed files with 8 additions and 2 deletions
|
|
@ -21,7 +21,7 @@ local function parse_configure(raw_track, node)
|
|||
raw_track.fps = node.fps
|
||||
end
|
||||
if node.frames then
|
||||
raw_track.duration = node.frames / node.fps
|
||||
raw_track.duration = node.frames / (node.fps or DEFAULT_FPS)
|
||||
elseif node.duration then
|
||||
raw_track.duration = node.duration
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue