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 /mesh_relax.py | |
parent | 6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff) |
update for changes in blender.
Diffstat (limited to 'mesh_relax.py')
-rw-r--r-- | mesh_relax.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesh_relax.py b/mesh_relax.py index 42419218..97743f2d 100644 --- a/mesh_relax.py +++ b/mesh_relax.py @@ -98,8 +98,8 @@ class Relax(bpy.types.Operator): iterations = IntProperty(name="Relax iterations", default=1, min=0, max=100, soft_min=0, soft_max=10) - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): obj = context.active_object return (obj and obj.type == 'MESH') |