diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-10 21:28:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-10 21:28:53 +0400 |
commit | 8012053e1e178c8cabb133e05dc1e36d52908fa7 (patch) | |
tree | fd3f79b7e8cd9ee165ff2ece9a1ef9d2cf7ca058 /add_curve_aceous_galore.py | |
parent | 0507e7a5b8dd558e12c906dd398a6e0bd7f76911 (diff) |
cleanup
- remove unused imports
- remove/comment unused vars
- fix for some bugs with unused vars being used
Diffstat (limited to 'add_curve_aceous_galore.py')
-rw-r--r-- | add_curve_aceous_galore.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/add_curve_aceous_galore.py b/add_curve_aceous_galore.py index b4df5408..8bb26a96 100644 --- a/add_curve_aceous_galore.py +++ b/add_curve_aceous_galore.py @@ -63,7 +63,7 @@ def randnum(low=0.0, high=1.0, seed=0): (type=float) """ - s = Noise.seed_set(seed) + Noise.seed_set(seed) rnum = Noise.random() rnum = rnum*(high-low) rnum = rnum+low @@ -97,7 +97,6 @@ def vTurbNoise(x,y,z, iScale=0.25, Size=1.0, Depth=6, Hard=0, Basis=0, Seed=0): the generated turbulence vector. (type=3-float list) """ - sn = 0.001 rand = randnum(-100,100,Seed) if Basis == 9: Basis = 14 vTurb = Noise.turbulence_vector((x/Size+rand, y/Size+rand, z/Size+rand), Depth, Hard, Basis) |