From 0fcd2037beda8c2ce5fbd29700b1fc5545a29d28 Mon Sep 17 00:00:00 2001
From: Brendon Murphy <meta.androcto1@gmail.com>
Date: Tue, 29 Mar 2011 01:51:46 +0000
Subject: [PATCH] addons/object_cloud_gen.py removed warning, api r35853 quick
 fix for error. line 519 commented out > # bpy.ops.object.location_apply()

---
 object_cloud_gen.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/object_cloud_gen.py b/object_cloud_gen.py
index a9a79752c..149fa5547 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()
-- 
GitLab