diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-05 16:35:52 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-03-05 16:51:48 +0300 |
commit | cb7e66737d2d2d0628dda49ddb7d5541915d017b (patch) | |
tree | 12cff3bdf0b4db962cad4ec5dc63c7894a6b3e3f /source/blender/editors/interface/interface_region_menu_popup.c | |
parent | 683e64247f060acbb8b9ba9178e7555dc57aa10b (diff) |
Fix T62216: order of items flipped in some menus like object mode.
Diffstat (limited to 'source/blender/editors/interface/interface_region_menu_popup.c')
-rw-r--r-- | source/blender/editors/interface/interface_region_menu_popup.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/source/blender/editors/interface/interface_region_menu_popup.c b/source/blender/editors/interface/interface_region_menu_popup.c index 43c94a5cb9d..73847d6fc71 100644 --- a/source/blender/editors/interface/interface_region_menu_popup.c +++ b/source/blender/editors/interface/interface_region_menu_popup.c @@ -222,14 +222,6 @@ static uiBlock *ui_block_func_POPUP(bContext *C, uiPopupBlockHandle *handle, voi UI_block_flag_enable(block, UI_BLOCK_MOVEMOUSE_QUIT); - /* Flip layout because rna enum list ordered in reverse. */ - if ((pup->but && pup->but->type != UI_BTYPE_PULLDOWN) && - (UI_but_menutype_get(pup->but) == NULL) && - (UI_but_is_tool(pup->but) == false)) - { - UI_block_order_flip(block); - } - if (pup->popup) { uiBut *bt; int offset[2]; |