Mercurial > code > home > repos > light9
changeset 581:ddb1c646796f
Effects: actually export new stack effect
Ignore-this: a197864a26e5f6707cd45c5eee0b378c
author | David McClosky <dmcc@bigasterisk.com> |
---|---|
date | Sat, 19 Jun 2010 23:45:10 +0000 |
parents | 0b8222617b75 |
children | f4f9b0d27506 |
files | light9/Effects.py |
diffstat | 1 files changed, 3 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/Effects.py Sat Jun 19 23:41:32 2010 +0000 +++ b/light9/Effects.py Sat Jun 19 23:45:10 2010 +0000 @@ -27,8 +27,7 @@ continue lev[dmx] = value - ret = Submaster.Submaster(leveldict=lev, temporary=True) - return ret + return Submaster.Submaster(leveldict=lev, temporary=True) def stack(t, names=None): """names is list of URIs. returns a submaster that stacks the the inputs""" @@ -49,8 +48,7 @@ if threshold > t: break - ret = Submaster.Submaster(leveldict=lev, temporary=True) - return ret + return Submaster.Submaster(leveldict=lev, temporary=True) def configExprGlobals(): graph = showconfig.getGraph() @@ -63,4 +61,5 @@ print "%r is a chase" % shortName ret['chase'] = chase + ret['stack'] = stack return ret