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:
authorBrecht Van Lommel <brechtvanlommel@pandora.be>2010-02-01 02:25:57 +0300
committerBrecht Van Lommel <brechtvanlommel@pandora.be>2010-02-01 02:25:57 +0300
commitea70bcb5b88e3ef14d268b6b11929fab185773f2 (patch)
tree7f1afac4778f94865f588256fff432b896a48f95
parent74535c435f9fbcd410d859d41e55430deee9c234 (diff)
Fix missing redraw in image window when changing render pass.
-rw-r--r--source/blender/editors/space_image/space_image.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c
index 5a584782237..3cb00baf427 100644
--- a/source/blender/editors/space_image/space_image.c
+++ b/source/blender/editors/space_image/space_image.c
@@ -602,7 +602,7 @@ static void image_listener(ScrArea *sa, wmNotifier *wmn)
}
break;
case NC_IMAGE:
- if (wmn->reference == sima->image) {
+ if (wmn->reference == sima->image || !wmn->reference) {
image_histogram_tag_refresh(sa);
ED_area_tag_refresh(sa);
ED_area_tag_redraw(sa);