From 1eae2236e25fb247789ccca98eb27d4862d75b6e Mon Sep 17 00:00:00 2001 From: Steven Robertson Date: Sun, 6 Jan 2013 21:59:59 -0800 Subject: [PATCH] Make 'time' available on nodes too --- cuburn/genome/specs.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/cuburn/genome/specs.py b/cuburn/genome/specs.py index c73208c..20189e9 100644 --- a/cuburn/genome/specs.py +++ b/cuburn/genome/specs.py @@ -85,6 +85,7 @@ base = ( , 'palette': list_(Palette()) , 'xforms': map_(xform) , 'final_xform': xform + , 'time': time }) # TODO @@ -93,11 +94,11 @@ node.update(type='node', blend=blend, author=author) # TODO 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))) 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'] # Yeah, now I'm just messing around.