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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-05 19:58:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-05 19:58:52 +0400
commitebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch)
treed6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /add_curve_torus_knots.py
parent8d94603a8de70935166a933d2fb0f9af369d567f (diff)
update for changes in blender.
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 #####