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/drawsound.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/drawsound.c')
-rw-r--r-- | source/blender/src/drawsound.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawsound.c b/source/blender/src/drawsound.c index a7acd3ba7dc..bafd27f0833 100644 --- a/source/blender/src/drawsound.c +++ b/source/blender/src/drawsound.c @@ -229,7 +229,7 @@ void drawsoundspace(ScrArea *sa, void *spacedata) mywinset(curarea->win); /* ortho at pixel level curarea */ - 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(curarea->winx>SCROLLB+10 && curarea->winy>SCROLLH+10) { if(G.v2d->scroll) { @@ -237,7 +237,7 @@ void drawsoundspace(ScrArea *sa, void *spacedata) } } - 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); draw_area_emboss(sa); curarea->win_swap= WIN_BACK_OK; } |