diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-12-20 04:00:20 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-12-20 04:00:20 +0300 |
commit | dc3d9467f2b62bf241d95ab62312304a82ab3b28 (patch) | |
tree | 18bbee9c0205de06d62dccc272e6571fca1f06b9 /release/scripts | |
parent | 91240f15c54632409da3f09d1c3eb40e6f66e52d (diff) |
Fix T58937: Appended menus to VIEW3D_MT_editor_menus are not displayed
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 2 |
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') |