diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
commit | ebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch) | |
tree | d6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /object_cloud_gen.py | |
parent | 8d94603a8de70935166a933d2fb0f9af369d567f (diff) |
update for changes in blender.
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r-- | object_cloud_gen.py | 3 |
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: |