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:
authorBrendon Murphy <meta.androcto1@gmail.com>2011-03-29 05:51:46 +0400
committerBrendon Murphy <meta.androcto1@gmail.com>2011-03-29 05:51:46 +0400
commit0fcd2037beda8c2ce5fbd29700b1fc5545a29d28 (patch)
treed26464b8362b51e93a472d72af6869758cf2ae1d /object_cloud_gen.py
parent39361da22f8e2e001bec1fbd26f669cd19bf9bdc (diff)
addons/object_cloud_gen.py
removed warning, api r35853 quick fix for error. line 519 commented out > # bpy.ops.object.location_apply()
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r--object_cloud_gen.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py
index a9a79752..149fa554 100644
--- a/object_cloud_gen.py
+++ b/object_cloud_gen.py
@@ -21,10 +21,10 @@ bl_info = {
"author": "Nick Keeline(nrk)",
"version": (1,0),
"blender": (2, 5, 7),
- "api": 35622,
+ "api": 35853,
"location": "View3D > Tool Shelf > Cloud Generator Panel",
"description": "Creates Volumetric Clouds",
- "warning": "Script returns errors",
+ "warning": "",
"wiki_url": "http://wiki.blender.org/index.php/Extensions:2.5/Py/"\
"Scripts/Object/Cloud_Gen",
"tracker_url": "https://projects.blender.org/tracker/index.php?"\
@@ -516,7 +516,7 @@ class GenerateCloud(bpy.types.Operator):
#Don't subdivide object or smooth if smoothing box not checked.
if scene.cloudsmoothing:
bpy.ops.mesh.subdivide(number_cuts=2, fractal=0, smoothness=1)
- bpy.ops.object.location_apply()
+ # bpy.ops.object.location_apply()
bpy.ops.mesh.vertices_smooth(repeat=20)
bpy.ops.mesh.tris_convert_to_quads()
bpy.ops.mesh.faces_shade_smooth()