Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'release/scripts/op/uv.py')
-rw-r--r--release/scripts/op/uv.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/release/scripts/op/uv.py b/release/scripts/op/uv.py
index 23e06c968cd..14d0b81a586 100644
--- a/release/scripts/op/uv.py
+++ b/release/scripts/op/uv.py
@@ -39,7 +39,8 @@ class ExportUVLayout(bpy.types.Operator):
description="File format to export the UV layout to",
default='SVG')
- def poll(self, context):
+ @staticmethod
+ def poll(context):
obj = context.active_object
return (obj and obj.type == 'MESH')