diff options
author | Matt Ebb <matt@mke3.net> | 2010-03-29 03:30:00 +0400 |
---|---|---|
committer | Matt Ebb <matt@mke3.net> | 2010-03-29 03:30:00 +0400 |
commit | d3300ad590184f06a8f8c99031bb982db228e444 (patch) | |
tree | 70ae8070c66e603f3cb7921a82dd37c5b91702c5 /source/blender/editors/space_image/space_image.c | |
parent | 33ee3fc6fe0d387e1efb2b545cab441867fb1b48 (diff) |
* Update histogram on frame change and image swap
Diffstat (limited to 'source/blender/editors/space_image/space_image.c')
-rw-r--r-- | source/blender/editors/space_image/space_image.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/source/blender/editors/space_image/space_image.c b/source/blender/editors/space_image/space_image.c index 30f173bd149..26275434c84 100644 --- a/source/blender/editors/space_image/space_image.c +++ b/source/blender/editors/space_image/space_image.c @@ -590,6 +590,10 @@ static void image_listener(ScrArea *sa, wmNotifier *wmn) case NC_SCENE: switch(wmn->data) { case ND_FRAME: + image_histogram_tag_refresh(sa); + ED_area_tag_refresh(sa); + ED_area_tag_redraw(sa); + break; case ND_MODE: case ND_RENDER_RESULT: case ND_COMPO_RESULT: @@ -608,8 +612,10 @@ static void image_listener(ScrArea *sa, wmNotifier *wmn) } break; case NC_SPACE: - if(wmn->data == ND_SPACE_IMAGE) + if(wmn->data == ND_SPACE_IMAGE) { + image_histogram_tag_refresh(sa); ED_area_tag_redraw(sa); + } break; case NC_GEOM: switch(wmn->data) { |