Changeset - dfb23566a91f
[Not reviewed]
default
0 1 0
Drew Perttula - 11 years ago 2014-06-03 08:25:38
drewp@bigasterisk.com
effecteval don't stop if a curve has 0 pts
Ignore-this: 919eace9fc1a927890c08df3f49a41ae
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
bin/effecteval
Show inline comments
 
@@ -182,7 +182,10 @@ class EffectLoop(object):
 

	
 
                outSubs = []
 
                for e in self.currentEffects:
 
                    outSubs.append(e.eval(songTime))
 
                    try:
 
                        outSubs.append(e.eval(songTime))
 
                    except Exception as exc:
 
                        log.error("effect %s: %s" % (e.uri, exc))
 
                out = Submaster.sub_maxes(*outSubs)
 

	
 
                self.logLevels(t1, out)
0 comments (0 inline, 0 general)