diff options
Diffstat (limited to 'release/scripts/op/uv.py')
-rw-r--r-- | release/scripts/op/uv.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/op/uv.py b/release/scripts/op/uv.py index 0d6e1904ff2..7d677181858 100644 --- a/release/scripts/op/uv.py +++ b/release/scripts/op/uv.py @@ -39,8 +39,8 @@ class ExportUVLayout(bpy.types.Operator): description="File format to export the UV layout to", default='SVG') - @staticmethod - def poll(context): + @classmethod + def poll(cls, context): obj = context.active_object return (obj and obj.type == 'MESH') |