forked from bartvdbraak/blender
Fix eternal compo refresh when having image editor with mask opened
This was a regression since 55719 and the reason is: - image_refresh() will tag combo for re-calc when editing mask. This is a feature, so you could have immediate feedback on masking and compositing while editing mask. This is done from image_refresh(). - Color management sends NC_WINDOW notifier, so the whole window is updated when changing color management settings. Image editor used to refresh space when this notifier is sent. The same notifier is sent by compositor job to redraw all possible viewers. Simple fix: don't refresh image space for NC_WINDOW, there's nothing in image_refresh() which we would want to happen on NC_WINDOW event.
This commit is contained in:
parent
b18a7c3cd6
commit
5f49bab8ba
@ -438,7 +438,6 @@ static void image_listener(ScrArea *sa, wmNotifier *wmn)
|
||||
case NC_WINDOW:
|
||||
/* notifier comes from editing color space */
|
||||
image_scopes_tag_refresh(sa);
|
||||
ED_area_tag_refresh(sa);
|
||||
ED_area_tag_redraw(sa);
|
||||
break;
|
||||
case NC_SCENE:
|
||||
|
Loading…
Reference in New Issue
Block a user