Mercurial > code > home > repos > light9
changeset 1166:f0d752c0a772
CC don't talk to dmx if you have no subterms (now the norm)
Ignore-this: 910d809f7cb8bed5a3dd9aa4d1144e01
author | drewp@bigasterisk.com |
---|---|
date | Sun, 15 Jun 2014 02:53:33 +0000 |
parents | 1131e987234d |
children | 5e905ff44e84 |
files | light9/curvecalc/output.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/light9/curvecalc/output.py Sun Jun 15 02:53:21 2014 +0000 +++ b/light9/curvecalc/output.py Sun Jun 15 02:53:33 2014 +0000 @@ -51,8 +51,11 @@ def send_dmx(self, t): dispatcher.send("curves to sliders", t=t) + + if not self.currentSubterms: + return + scaledsubs=[] - for st in self.currentSubterms: scl = st.scaled(t) scaledsubs.append(scl)