mirror of
https://github.com/blender/blender-addons.git
synced 2025-08-16 15:35:05 +00:00
Cleanup: use tuples for storing classes
This commit is contained in:
@ -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:
|
||||
|
Reference in New Issue
Block a user