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
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-12-20 04:00:20 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-12-20 04:00:20 +0300
commitdc3d9467f2b62bf241d95ab62312304a82ab3b28 (patch)
tree18bbee9c0205de06d62dccc272e6571fca1f06b9 /release/scripts/modules/bpy_types.py
parent91240f15c54632409da3f09d1c3eb40e6f66e52d (diff)
Fix T58937: Appended menus to VIEW3D_MT_editor_menus are not displayed
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r--release/scripts/modules/bpy_types.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py
index c6552334dcf..47f132027d2 100644
--- a/release/scripts/modules/bpy_types.py
+++ b/release/scripts/modules/bpy_types.py
@@ -920,7 +920,7 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta):
# only usable within headers
if context.area.show_menus:
# Align menus to space them closely.
- cls.draw_menus(layout.row(align=True), context)
+ layout.row(align=True).menu_contents(cls.__name__)
else:
layout.menu(cls.__name__, icon='COLLAPSEMENU')