mirror of
https://github.com/stevenrobertson/cuburn.git
synced 2025-02-05 11:40:04 -05:00
Make 'time' available on nodes too
This commit is contained in:
parent
1ddcf9cbc4
commit
1eae2236e2
@ -85,6 +85,7 @@ base = (
|
|||||||
, 'palette': list_(Palette())
|
, 'palette': list_(Palette())
|
||||||
, 'xforms': map_(xform)
|
, 'xforms': map_(xform)
|
||||||
, 'final_xform': xform
|
, 'final_xform': xform
|
||||||
|
, 'time': time
|
||||||
})
|
})
|
||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
@ -93,11 +94,11 @@ node.update(type='node', blend=blend, author=author)
|
|||||||
|
|
||||||
# TODO
|
# TODO
|
||||||
edge = dict(base)
|
edge = dict(base)
|
||||||
edge.update(type='edge', author=author, blend=blend, link=link, time=time,
|
edge.update(type='edge', author=author, blend=blend, link=link,
|
||||||
xforms=dict(src=map_(xform), dst=map_(xform)))
|
xforms=dict(src=map_(xform), dst=map_(xform)))
|
||||||
|
|
||||||
anim = dict(base)
|
anim = dict(base)
|
||||||
anim.update(type='animation', authors=list_(author), link=link, time=time)
|
anim.update(type='animation', authors=list_(author), link=link)
|
||||||
|
|
||||||
default_filters = ['bilateral', 'logscale', 'smearclip']
|
default_filters = ['bilateral', 'logscale', 'smearclip']
|
||||||
# Yeah, now I'm just messing around.
|
# Yeah, now I'm just messing around.
|
||||||
|
Loading…
Reference in New Issue
Block a user