diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-29 16:02:21 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-08-29 17:25:50 +0300 |
commit | 0d085790d13b2c261210addb12fabc1fea82bdef (patch) | |
tree | a7f778e09368e9691bb413b3c665acd90e435c16 /doc | |
parent | 42f7767dab56ce6cf26e490c3cb2c689b2b0d507 (diff) |
Python / Cleanup: rename INFO_MT to TOPBAR_MT/VIEW3D_MT to reflect actual location.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/python_api/examples/bpy.types.Menu.2.py | 2 | ||||
-rw-r--r-- | doc/python_api/examples/bpy.types.Operator.2.py | 2 |
2 files changed, 2 insertions, 2 deletions
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 |