diff options
Diffstat (limited to 'mesh_relax.py')
-rw-r--r-- | mesh_relax.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesh_relax.py b/mesh_relax.py index cc752105..42419218 100644 --- a/mesh_relax.py +++ b/mesh_relax.py @@ -98,7 +98,8 @@ class Relax(bpy.types.Operator): iterations = IntProperty(name="Relax iterations", default=1, min=0, max=100, soft_min=0, soft_max=10) - def poll(self, context): + @staticmethod + def poll(context): obj = context.active_object return (obj and obj.type == 'MESH') |