* Fix for RMB keyframe/data path/etc operators not working in sub-regions, was getting the wrong region context to operate on.
This commit is contained in:
@@ -3399,6 +3399,8 @@ static int ui_but_menu(bContext *C, uiBut *but)
|
||||
|
||||
pup= uiPupMenuBegin(C, name, 0);
|
||||
layout= uiPupMenuLayout(pup);
|
||||
|
||||
uiLayoutSetOperatorContext(layout, WM_OP_INVOKE_DEFAULT);
|
||||
|
||||
if(but->rnapoin.data && but->rnaprop) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user