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