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/filesel.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/filesel.c')
-rw-r--r-- | source/blender/src/filesel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/filesel.c b/source/blender/src/filesel.c index a13520281a5..c0bbc6f1b3e 100644 --- a/source/blender/src/filesel.c +++ b/source/blender/src/filesel.c @@ -1141,7 +1141,7 @@ void drawfilespace(ScrArea *sa, void *spacedata) char name[20]; char *menu; - 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); BIF_GetThemeColor3fv(TH_HEADER, col); // basic undrawn color is border glClearColor(col[0], col[1], col[2], 0.0); @@ -1197,7 +1197,7 @@ void drawfilespace(ScrArea *sa, void *spacedata) /* others diskfree etc ? */ scrarea_queue_headredraw(curarea); - 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); curarea->win_swap= WIN_BACK_OK; |