From e7dfe15702bf60700fbedea80f84fbace16970d2 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 31 Jan 2019 17:15:24 +0100 Subject: Fix T61061: Scopes in image editor are not updating Scopes were moved to properties area, so need to adjust the optimization part of tagging. Ideally, tagging will always happen (and happen for free) and then drawing code will update scopes when they are actually displayed. But this is outside of the scope of this fix since requires some design changes. --- source/blender/editors/space_image/space_image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender') diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index fc1bf0fcbff..c47d9eb2964 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -98,7 +98,7 @@ static void image_scopes_tag_refresh(ScrArea *sa) /* only while histogram is visible */ for (ar = sa->regionbase.first; ar; ar = ar->next) { - if (ar->regiontype == RGN_TYPE_TOOLS && ar->flag & RGN_FLAG_HIDDEN) + if (ar->regiontype == RGN_TYPE_TOOL_PROPS && ar->flag & RGN_FLAG_HIDDEN) return; } -- cgit v1.2.3