Fix T40596: Node link menus flipped & events inverted

This commit is contained in:
Campbell Barton 2014-06-13 04:04:19 +10:00
parent 9ef7486a38
commit a8532fb3dd
Notes: blender-bot 2023-02-14 10:30:41 +01:00
Referenced by issue #40596, Menu selection order in Cycles shader combo box inverted when using mouse wheel
1 changed files with 1 additions and 0 deletions

View File

@ -511,6 +511,7 @@ static void ui_template_node_link_menu(bContext *C, uiLayout *layout, void *but_
bNodeSocket *sock = arg->sock;
bNodeTreeType *ntreetype = arg->ntree->typeinfo;
uiBlockSetFlag(block, UI_BLOCK_NO_FLIP);
uiBlockSetCurLayout(block, layout);
split = uiLayoutSplit(layout, 0.0f, false);