Revert "Fix hidden action-zone interaction"

This reverts commit 03e5ba3183.

Causes T57729, will look into an alternative fix.
This commit is contained in:
Campbell Barton 2018-11-12 14:31:28 +11:00
parent 64b463c262
commit 30ed837473
1 changed files with 0 additions and 7 deletions

View File

@ -685,13 +685,6 @@ static AZone *area_actionzone_refresh_xy(ScrArea *sa, const int xy[2], const boo
AZone *az = NULL;
for (az = sa->actionzones.first; az; az = az->next) {
if (az->ar) {
if (az->ar->flag & (RGN_FLAG_HIDDEN | RGN_FLAG_TOO_SMALL)) {
continue;
}
BLI_assert(az->ar->visible);
}
if (BLI_rcti_isect_pt_v(&az->rect, xy)) {
if (az->type == AZONE_AREA) {
/* no triangle intersect but a hotspot circle based on corner */