From 0d085790d13b2c261210addb12fabc1fea82bdef Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 29 Aug 2018 15:02:21 +0200 Subject: Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location. --- doc/python_api/examples/bpy.types.Menu.2.py | 2 +- doc/python_api/examples/bpy.types.Operator.2.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/python_api/examples/bpy.types.Menu.2.py b/doc/python_api/examples/bpy.types.Menu.2.py index a1cce0c3ce2..fbdf747d472 100644 --- a/doc/python_api/examples/bpy.types.Menu.2.py +++ b/doc/python_api/examples/bpy.types.Menu.2.py @@ -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) diff --git a/doc/python_api/examples/bpy.types.Operator.2.py b/doc/python_api/examples/bpy.types.Operator.2.py index d1f0edf15aa..901bd7b21f8 100644 --- a/doc/python_api/examples/bpy.types.Operator.2.py +++ b/doc/python_api/examples/bpy.types.Operator.2.py @@ -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 -- cgit v1.2.3