changeset 992:4ef4765d0ad8

fix the noise/notch functions (but all terms are in phase now) Ignore-this: 9fb94948aa1cb0cc259df9bb0a2716dc
author drewp@bigasterisk.com
date Sun, 16 Jun 2013 18:44:01 +0000
parents fae6de480b0c
children 17988053ee66
files light9/curvecalc/subterm.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/light9/curvecalc/subterm.py	Sun Jun 16 18:43:54 2013 +0000
+++ b/light9/curvecalc/subterm.py	Sun Jun 16 18:44:01 2013 +0000
@@ -13,6 +13,7 @@
     e.g. chases"""
     def __init__(self):
         self.effectGlobals = light9.Effects.configExprGlobals()
+        self._smooth_random_items = [random.random() for x in range(100)]
     
     def exprGlobals(self, startDict, t):
         """globals dict for use by expressions"""
@@ -79,7 +80,6 @@
         self.curveset = curveset
         self.ensureExpression(saveContext)
 
-        self._smooth_random_items = [random.random() for x in range(100)]
         self.submasters = Submaster.get_global_submasters(self.graph)
         
     def ensureExpression(self, saveCtx):