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 /curve_simplify.py | |
parent | 6367ee9946c8bc0ee9e91fc97d8303ce38991fc4 (diff) |
update for changes in blender.
Diffstat (limited to 'curve_simplify.py')
-rw-r--r-- | curve_simplify.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/curve_simplify.py b/curve_simplify.py index aa373a84..d644e0de 100644 --- a/curve_simplify.py +++ b/curve_simplify.py @@ -423,8 +423,8 @@ class GRAPH_OT_simplify(bpy.types.Operator): col.prop(props, 'error', expand=True) ## Check for animdata - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): obj = context.active_object fcurves = False if obj: @@ -549,8 +549,8 @@ class CURVE_OT_simplify(bpy.types.Operator): ## Check for curve - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): obj = context.active_object return (obj and obj.type == 'CURVE') |