diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-28 17:33:52 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-28 17:33:52 +0400 |
commit | a0b2195a8d87fffec2690d8477a596c5e028a3d0 (patch) | |
tree | 65c8fa7c268d8480f300229115408a7f0b28ec07 /source/blender/src/drawimage.c | |
parent | 514580d39ddfcf682f5fd57342a4f2c5098d9538 (diff) |
Fix for bug #9652: "draw zbuffer values" in the image editor did
not work correct.
Diffstat (limited to 'source/blender/src/drawimage.c')
-rw-r--r-- | source/blender/src/drawimage.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawimage.c b/source/blender/src/drawimage.c index 89e34b6d73e..ac2b92d0815 100644 --- a/source/blender/src/drawimage.c +++ b/source/blender/src/drawimage.c @@ -2238,7 +2238,7 @@ void drawimagespace(ScrArea *sa, void *spacedata) else if(ibuf->rect_float && ibuf->channels==4) sima_draw_alpha_pixelsf(x1_rep, y1_rep, ibuf->x, ibuf->y, ibuf->rect_float); } - else if(sima->flag & SI_SHOW_ZBUF && ((ibuf->zbuf || ibuf->zbuf_float || (ibuf->channels==1)) == 0)) { + else if(sima->flag & SI_SHOW_ZBUF && (ibuf->zbuf || ibuf->zbuf_float || (ibuf->channels==1))) { if(ibuf->zbuf) sima_draw_zbuf_pixels(x1_rep, y1_rep, ibuf->x, ibuf->y, ibuf->zbuf); else if(ibuf->zbuf_float) |