diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-05 19:58:52 +0400 |
commit | ebfb6490e11ae9ae0429737c1bf0e0cd64222f5a (patch) | |
tree | d6b7ff4e93a37043d83ceb5dbabfdf8bc2bab117 /mesh_relax.py | |
parent | 8d94603a8de70935166a933d2fb0f9af369d567f (diff) |
update for changes in blender.
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') |