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>2010-08-05 19:58:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-05 19:58:52 +0400
commitebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch)
treed6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /object_cloud_gen.py
parent8d94603a8de70935166a933d2fb0f9af369d567f (diff)
update for changes in blender.
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r--object_cloud_gen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py
index 884ef55a..3564d0b7 100644
--- a/object_cloud_gen.py
+++ b/object_cloud_gen.py
@@ -318,7 +318,8 @@ class GenerateCloud(bpy.types.Operator):
bl_register = True
bl_undo = True
- def poll(self, context):
+ @staticmethod
+ def poll(context):
if not context.active_object:
return False
else: