Changeset - 2591ae3e9e37
[Not reviewed]
default
0 1 0
drewp@bigasterisk.com - 10 years ago 2015-06-13 08:11:18
drewp@bigasterisk.com
just set both blacklights together
Ignore-this: 6a576058f3c7d26cc5f7df2e0df031e2
1 file changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
light9/effecteval/effectloop.py
Show inline comments
 
@@ -231,8 +231,10 @@ class LedLoop(EffectLoop):
 
        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:
0 comments (0 inline, 0 general)