diff options
author | Campbell Barton <campbell@blender.org> | 2022-04-20 08:11:22 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-04-20 08:11:22 +0300 |
commit | 38d8b088e76bfa0058b6e1ba4e56771695e8bf85 (patch) | |
tree | 5221ea21a6ced0140277c30998730976fad44153 /release/scripts/templates_py/operator_mesh_uv.py | |
parent | c2cdbe1e88f1397d624538589137c013e087c38a (diff) |
Cleanup: run autopep8 on release/scripts/templates_py
Diffstat (limited to 'release/scripts/templates_py/operator_mesh_uv.py')
-rw-r--r-- | release/scripts/templates_py/operator_mesh_uv.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/release/scripts/templates_py/operator_mesh_uv.py b/release/scripts/templates_py/operator_mesh_uv.py index 2d4f5b17ba8..e94de433d1c 100644 --- a/release/scripts/templates_py/operator_mesh_uv.py +++ b/release/scripts/templates_py/operator_mesh_uv.py @@ -33,10 +33,12 @@ class UvOperator(bpy.types.Operator): main(context) return {'FINISHED'} + def menu_func(self, context): - self.layout.operator(UvOperator.bl_idname, text = "Simple UV Operator") + self.layout.operator(UvOperator.bl_idname, text="Simple UV Operator") + -# Register and add to the "UV" menu (required to also use F3 search "Simple UV Operator" for quick access) +# Register and add to the "UV" menu (required to also use F3 search "Simple UV Operator" for quick access). def register(): bpy.utils.register_class(UvOperator) bpy.types.IMAGE_MT_uvs.append(menu_func) |