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:
parent
d2f3378249
commit
e7dfe15702
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user