diff options
author | Ton Roosendaal <ton@blender.org> | 2003-11-18 14:22:17 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2003-11-18 14:22:17 +0300 |
commit | bc22e2242a528b7b7917b2a04958adf37e3c45cc (patch) | |
tree | 75c3cf2a82dc005db76ded905efd7d4731224c86 /source/blender/src/butspace.c | |
parent | 683b51fe83b3fe0c147c5c07067a442948dcf82d (diff) |
- removed temporal patch from myortho2() in mywindow.c, and changed
all calls to ortho2 with correctness offset of 0.375 instead of 0.5.
this efficiently solves bug in drawing UV lines as reported.
cvS: ----------------------------------------------------------------------
Diffstat (limited to 'source/blender/src/butspace.c')
-rw-r--r-- | source/blender/src/butspace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/butspace.c b/source/blender/src/butspace.c index 5488c71d8c7..8313d19a3a8 100644 --- a/source/blender/src/butspace.c +++ b/source/blender/src/butspace.c @@ -455,7 +455,7 @@ void drawbutspace(ScrArea *sa, void *spacedata) sbuts->mainbo= sbuts->mainb; sbuts->tabo= sbuts->tab[sbuts->mainb]; - myortho2(-0.5, (float)(sa->winx)-0.5, -0.5, (float)(sa->winy)-0.5); + myortho2(-0.375, (float)(sa->winx)-0.375, -0.375, (float)(sa->winy)-0.375); draw_area_emboss(sa); myortho2(v2d->cur.xmin, v2d->cur.xmax, v2d->cur.ymin, v2d->cur.ymax); |