diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
commit | 2384910b60c161971ba37d7a14874580def12ea0 (patch) | |
tree | 33b8174bd04426c6a5b2bed7c2eed12aeb74924c /object_cloud_gen.py | |
parent | 6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff) |
update for changes in blender.
Diffstat (limited to 'object_cloud_gen.py')
-rw-r--r-- | object_cloud_gen.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/object_cloud_gen.py b/object_cloud_gen.py index 3564d0b7..666ddb6b 100644 --- a/object_cloud_gen.py +++ b/object_cloud_gen.py @@ -318,8 +318,8 @@ class GenerateCloud(bpy.types.Operator): bl_register = True bl_undo = True - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): if not context.active_object: return False else: |