diff options
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: |