diff options
-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') |