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

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

View File

@@ -15,4 +15,4 @@ def menu_draw(self, context):
self.layout.operator("wm.save_homefile")
bpy.types.INFO_MT_file.append(menu_draw)
bpy.types.TOPBAR_MT_file.append(menu_draw)

View File

@@ -45,7 +45,7 @@ def menu_func(self, context):
# Register and add to the file selector
bpy.utils.register_class(ExportSomeData)
bpy.types.INFO_MT_file_export.append(menu_func)
bpy.types.TOPBAR_MT_file_export.append(menu_func)
# test call