Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2013-04-05 21:27:25 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2013-04-05 21:27:25 +0400
commit5f49bab8bad9ecadcfecaec17268a4c75bcde762 (patch)
treefd612f070ed9ab6eb7d8f553a6c12d4618681bb6 /source/blender/editors/space_image/space_image.c
parentb18a7c3cd64bd3bb0dd203ff7d034d5d9f168b18 (diff)
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.
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r--source/blender/editors/space_image/space_image.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 1b4ff44bb6b..9bc23ca17c2 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -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: