Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-07-10 21:28:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-10 21:28:53 +0400
commit8012053e1e178c8cabb133e05dc1e36d52908fa7 (patch)
treefd3f79b7e8cd9ee165ff2ece9a1ef9d2cf7ca058 /object_cloud_gen.py
parent0507e7a5b8dd558e12c906dd398a6e0bd7f76911 (diff)
cleanup
- remove unused imports - remove/comment unused vars - fix for some bugs with unused vars being used
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r--object_cloud_gen.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py
index 954e5cf1..64fdef70 100644
--- a/object_cloud_gen.py
+++ b/object_cloud_gen.py
@@ -51,7 +51,6 @@ Rev 1.0 Added ability to convert object with particle system to cloud and auto r
"""
import bpy
-import mathutils
from math import *
from bpy.props import *
@@ -579,7 +578,7 @@ class GenerateCloud(bpy.types.Operator):
mVolume.cache_resolution = 45
# Add a texture
- vMaterialTextureSlots = cloudMaterial.texture_slots
+ # vMaterialTextureSlots = cloudMaterial.texture_slots # UNUSED
cloudtex = blend_data.textures.new("CloudTex", type='CLOUDS')
cloudtex.noise_type = 'HARD_NOISE'
cloudtex.noise_scale = 2