Fix T73212: Gizmo's are still interactive when behind nodes

This commit is contained in:
2020-03-13 01:19:22 +11:00
parent 85ea7dfc54
commit 5929dd7129
7 changed files with 67 additions and 0 deletions

View File

@@ -190,6 +190,8 @@ typedef struct ARegionType {
/* return without drawing.
* lock is set by region definition, and copied to do_lock by render. can become flag. */
short do_lock, lock;
/** Don't handle gizmos events behind #uiBlock's with #UI_BLOCK_CLIP_EVENTS flag set. */
bool clip_gizmo_events_by_ui;
/* call cursor function on each move event */
short event_cursor;
} ARegionType;