# HG changeset patch # User drewp@bigasterisk.com # Date 1371408241 0 # Node ID 4ef4765d0ad8719b5a791c02f330838ee119d41c # Parent fae6de480b0cb895ea2634b8f40ee7e0555eb065 fix the noise/notch functions (but all terms are in phase now) Ignore-this: 9fb94948aa1cb0cc259df9bb0a2716dc diff -r fae6de480b0c -r 4ef4765d0ad8 light9/curvecalc/subterm.py --- 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):