Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-29 16:02:21 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-08-29 17:25:50 +0300
commit0d085790d13b2c261210addb12fabc1fea82bdef (patch)
treea7f778e09368e9691bb413b3c665acd90e435c16 /doc
parent42f7767dab56ce6cf26e490c3cb2c689b2b0d507 (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.py2
-rw-r--r--doc/python_api/examples/bpy.types.Operator.2.py2
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