# HG changeset patch # User David McClosky # Date 1276991110 0 # Node ID ddb1c646796f0d6aac25f319c565d5f8fd3cbf4d # Parent 0b8222617b75ba46e4465a71cc065b154466bc23 Effects: actually export new stack effect Ignore-this: a197864a26e5f6707cd45c5eee0b378c diff -r 0b8222617b75 -r ddb1c646796f light9/Effects.py --- 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