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 'add_curve_torus_knots.py')
-rw-r--r--add_curve_torus_knots.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py
index 3d66e8ba..eed9c67c 100644
--- a/add_curve_torus_knots.py
+++ b/add_curve_torus_knots.py
@@ -274,7 +274,8 @@ class torus_knot_plus(bpy.types.Operator):
box.prop(props, 'geo_res')
##### POLL #####
- def poll(self, context):
+ @staticmethod
+ def poll(context):
return context.scene != None
##### EXECUTE #####