# HG changeset patch # User drewp@bigasterisk.com # Date 1402800813 0 # Node ID f0d752c0a7722ddf67560cdaedc7b75200705d71 # Parent 1131e987234d9ca3c54feaad0b9111bbfcbc3066 CC don't talk to dmx if you have no subterms (now the norm) Ignore-this: 910d809f7cb8bed5a3dd9aa4d1144e01 diff -r 1131e987234d -r f0d752c0a772 light9/curvecalc/output.py --- 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)