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/drawnla.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/drawnla.c')
-rw-r--r-- | source/blender/src/drawnla.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawnla.c b/source/blender/src/drawnla.c index fc36f1e1019..5434505da8f 100644 --- a/source/blender/src/drawnla.c +++ b/source/blender/src/drawnla.c @@ -447,7 +447,7 @@ void drawnlaspace(ScrArea *sa, void *spacedata) /* Draw scroll */ mywinset(curarea->win); // reset scissor too if(curarea->winx>SCROLLB+10 && curarea->winy>SCROLLH+10) { - myortho2(-0.5, curarea->winx-0.5, -0.5, curarea->winy-0.5); + myortho2(-0.375, curarea->winx-0.375, -0.375, curarea->winy-0.375); if(G.v2d->scroll) drawscroll(0); } @@ -455,7 +455,7 @@ void drawnlaspace(ScrArea *sa, void *spacedata) draw_nlatree(); mywinset(curarea->win); // reset scissor too - myortho2(-0.5, sa->winx-0.5, -0.5, sa->winy-0.5); + myortho2(-0.375, sa->winx-0.375, -0.375, sa->winy-0.375); draw_area_emboss(sa); curarea->win_swap= WIN_BACK_OK; |