Skip to content
Snippets Groups Projects
Commit 318851e1 authored by Campbell Barton's avatar Campbell Barton
Browse files

Cleanup: use tuples for storing classes

parent fc4f9d36
No related branches found
No related tags found
No related merge requests found
......@@ -487,14 +487,14 @@ class IV_OT_icons_show(bpy.types.Operator):
self, width=self.width)
classes = [
classes = (
IV_PT_icons,
IV_HT_icons,
IV_OT_panel_menu_call,
IV_OT_icon_select,
IV_OT_icons_show,
IV_Preferences,
]
)
def register():
......
......@@ -217,10 +217,10 @@ def menu_func_export(self, context):
self.layout.operator(ExportBVH.bl_idname, text="Motion Capture (.bvh)")
classes = [
classes = (
ImportBVH,
ExportBVH
]
)
def register():
for cls in classes:
......
......@@ -254,10 +254,10 @@ def menu_export(self, context):
self.layout.operator(ExportSTL.bl_idname, text="Stl (.stl)")
classes = [
classes = (
ImportSTL,
ExportSTL
]
)
def register():
for cls in classes:
......
......@@ -164,10 +164,10 @@ def menu_func_export(self, context):
)
classes = [
classes = (
ImportMDD,
ExportMDD
]
)
def register():
for cls in classes:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment