Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.

This commit is contained in:
Brecht Van Lommel
2018-08-29 15:02:21 +02:00
parent 42f7767dab
commit 0d085790d1
17 changed files with 117 additions and 185 deletions

View File

@@ -60,12 +60,12 @@ def menu_func_export(self, context):
def register():
bpy.utils.register_class(ExportSomeData)
bpy.types.INFO_MT_file_export.append(menu_func_export)
bpy.types.TOPBAR_MT_file_export.append(menu_func_export)
def unregister():
bpy.utils.unregister_class(ExportSomeData)
bpy.types.INFO_MT_file_export.remove(menu_func_export)
bpy.types.TOPBAR_MT_file_export.remove(menu_func_export)
if __name__ == "__main__":