diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-09 05:42:53 +0400 |
commit | 2384910b60c161971ba37d7a14874580def12ea0 (patch) | |
tree | 33b8174bd04426c6a5b2bed7c2eed12aeb74924c /add_curve_torus_knots.py | |
parent | 6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff) |
update for changes in blender.
Diffstat (limited to 'add_curve_torus_knots.py')
-rw-r--r-- | add_curve_torus_knots.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/add_curve_torus_knots.py b/add_curve_torus_knots.py index 99a832d6..fd90cd55 100644 --- a/add_curve_torus_knots.py +++ b/add_curve_torus_knots.py @@ -273,8 +273,8 @@ class torus_knot_plus(bpy.types.Operator): box.prop(props, 'geo_res') ##### POLL ##### - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): return context.scene != None ##### EXECUTE ##### |