Make 'time' available on nodes too

This commit is contained in:
Steven Robertson 2013-01-06 21:59:59 -08:00
parent 1ddcf9cbc4
commit 1eae2236e2

View File

@ -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.