diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
commit | ebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch) | |
tree | d6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /add_curve_torus_knots.py | |
parent | 8d94603a8de70935166a933d2fb0f9af369d567f (diff) |
update for changes in blender.
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r-- | add_curve_torus_knots.py | 3 |
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 ##### |