mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-03-13 06:51:28 -04:00
Fix bug with applying edits
This commit is contained in:
parent
cce53c23a6
commit
e4fb94754f
@ -158,7 +158,7 @@ def tospline(spl, src, dst, edit, duration):
|
||||
|
||||
edit = dict(zip(edit[::2], edit[1::2])) if edit else {}
|
||||
e0, e1 = edit.pop(0, None), edit.pop(1, None)
|
||||
edit = zip(*[(k, v) for k, v in edit.items() if v is not None])
|
||||
edit = list(sum([(k, v) for k, v in edit.items() if v is not None], ()))
|
||||
|
||||
if spl.period:
|
||||
# Periodic extension: compute an appropriate number of loops based on
|
||||
|
Loading…
Reference in New Issue
Block a user