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/drawipo.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/drawipo.c')
-rw-r--r-- | source/blender/src/drawipo.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawipo.c b/source/blender/src/drawipo.c index ad4a5319845..aa1dba8454b 100644 --- a/source/blender/src/drawipo.c +++ b/source/blender/src/drawipo.c @@ -1676,7 +1676,7 @@ void drawipospace(ScrArea *sa, void *spacedata) if(sa->winx>SCROLLB+10 && sa->winy>SCROLLH+10) { /* ortho at pixel level sa */ - 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); if(v2d->scroll) { drawscroll(disptype); @@ -1691,7 +1691,7 @@ void drawipospace(ScrArea *sa, void *spacedata) draw_ipogrid(); } - 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); /* it is important to end a view in a transform compatible with buttons */ |