From 30ed837473aae1c418b7cd08d1041acdec282e09 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 12 Nov 2018 14:31:28 +1100 Subject: [PATCH] Revert "Fix hidden action-zone interaction" This reverts commit 03e5ba31837cbe91b633e18f19ba0b08e070e0dc. Causes T57729, will look into an alternative fix. --- source/blender/editors/screen/screen_ops.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c index 9c7e18b0889..6a9f1e13aea 100644 --- a/source/blender/editors/screen/screen_ops.c +++ b/source/blender/editors/screen/screen_ops.c @@ -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 */