diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-21 01:05:22 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-10-21 01:05:22 +0400 |
commit | cac0e48dfb0f568ef83ff014647f0193a3a03a66 (patch) | |
tree | cafe3acc27c91238b93cef34268f90e212dc2ac3 /source/blender/editors/space_image/image_draw.c | |
parent | 487a5045c91e1f910e947ed53a2f5b0e652b855b (diff) |
Region post redraw is now split up in a view space and pixel space
part. This fixes a bug where transform help line drawing would not
work with view clipping and mess up the z-buffer. This avoids the
transform code having to figure out what kind of opengl state is
enabled and disable it temporarily.
Diffstat (limited to 'source/blender/editors/space_image/image_draw.c')
-rw-r--r-- | source/blender/editors/space_image/image_draw.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/editors/space_image/image_draw.c b/source/blender/editors/space_image/image_draw.c index a42fec30c45..46ec41eda58 100644 --- a/source/blender/editors/space_image/image_draw.c +++ b/source/blender/editors/space_image/image_draw.c @@ -173,8 +173,6 @@ void draw_image_info(ARegion *ar, int channels, int x, int y, char *cp, float *f { char str[256]; int ofs; - - ED_region_pixelspace(ar); ofs= sprintf(str, "X: %d Y: %d ", x, y); if(cp) |