diff options
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 ##### |