Mercurial > code > home > repos > light9
changeset 1257:2591ae3e9e37
just set both blacklights together
Ignore-this: 6a576058f3c7d26cc5f7df2e0df031e2
author | drewp@bigasterisk.com |
---|---|
date | Sat, 13 Jun 2015 08:11:18 +0000 |
parents | ea2b23f59884 |
children | 4088c98b5b10 |
files | light9/effecteval/effectloop.py |
diffstat | 1 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/effecteval/effectloop.py Sat Jun 13 06:49:49 2015 +0000 +++ b/light9/effecteval/effectloop.py Sat Jun 13 08:11:18 2015 +0000 @@ -231,8 +231,10 @@ for out in outputs: log.debug('combine output %r', out) if isinstance(out, Effects.Blacklight): - key = 'blacklight%s' % out.which - combined[key] = max(combined[key], out) + # no picking yet + #key = 'blacklight%s' % out.which + for key in ['blacklight0', 'blacklight1']: + combined[key] = max(combined[key], out) elif isinstance(out, Effects.Strip): pixels = numpy.array(out.pixels, dtype=numpy.float16) for w in out.which: