Fix T40596: Node link menus flipped & events inverted
This commit is contained in:
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
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue