diff options
author | Ton Roosendaal <ton@blender.org> | 2006-12-23 14:22:20 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2006-12-23 14:22:20 +0300 |
commit | 8eb1d00e0d07d33a10febcbe93db2c028562c2ed (patch) | |
tree | 007ad2f997102c4646f5b47593e665f4b35d1795 /source/blender/src/header_image.c | |
parent | 7816c3ca070a2ca0b8a19f3ed48a9a2a0c2eba90 (diff) |
Bugfix #5497
Imagewindow: new Jkey (swap render rects) feature didn't correctly support
the Curves panel.
Diffstat (limited to 'source/blender/src/header_image.c')
-rw-r--r-- | source/blender/src/header_image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/header_image.c b/source/blender/src/header_image.c index 340170c03e2..2fad10f0e39 100644 --- a/source/blender/src/header_image.c +++ b/source/blender/src/header_image.c @@ -259,13 +259,13 @@ void do_image_buttons(unsigned short event) break; case B_SIMACURVES: - curvemapping_do_ibuf(G.sima->cumap, BKE_image_get_ibuf(G.sima->image, &G.sima->iuser)); + curvemapping_do_ibuf(G.sima->cumap, imagewindow_get_ibuf(G.sima)); allqueue(REDRAWIMAGE, 0); break; case B_SIMARANGE: curvemapping_set_black_white(G.sima->cumap, NULL, NULL); - curvemapping_do_ibuf(G.sima->cumap, BKE_image_get_ibuf(G.sima->image, &G.sima->iuser)); + curvemapping_do_ibuf(G.sima->cumap, imagewindow_get_ibuf(G.sima)); allqueue(REDRAWIMAGE, 0); break; |