Revert "Fix for hidden regions becoming active"

This reverts commit 484faaea4f.

Causes T57729, will look into an alternative fix.
This commit is contained in:
Campbell Barton 2018-11-12 14:27:47 +11:00
parent 81ed1d7093
commit 64b463c262
1 changed files with 0 additions and 3 deletions

View File

@ -649,9 +649,6 @@ void ED_screen_set_active_region(bContext *C, wmWindow *win, const int xy[2])
if (sa) {
/* make overlap active when mouse over */
for (ar = sa->regionbase.first; ar; ar = ar->next) {
if (ar->flag & (RGN_FLAG_HIDDEN | RGN_FLAG_TOO_SMALL)) {
continue;
}
if (BLI_rcti_isect_pt_v(&ar->winrct, xy)) {
scr->active_region = ar;
break;