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.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user