mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 15:22:04 +00:00
Fix an out-by-one error when expanding intervals.
This commit is contained in:
parent
965680f5dd
commit
7317aaf109
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ def process_frame(mdl, scene, frame, vertmap, ingroup = False,
|
|||
if 'intervals' in frame:
|
||||
intervals += list(frame['intervals'])
|
||||
intervals = list(map(lambda x: float(x), intervals))
|
||||
while len(intervals) < len(frame['frames']):
|
||||
while len(intervals) < len(frame['frames']) + 1:
|
||||
intervals.append(intervals[-1] + 0.1)
|
||||
fr = MDL.Frame()
|
||||
for i, f in enumerate(frame['frames']):
|
||||
|
|
Loading…
Reference in a new issue