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