Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2003-11-18 14:22:17 +0300
committerTon Roosendaal <ton@blender.org>2003-11-18 14:22:17 +0300
commitbc22e2242a528b7b7917b2a04958adf37e3c45cc (patch)
tree75c3cf2a82dc005db76ded905efd7d4731224c86 /source/blender/src/drawseq.c
parent683b51fe83b3fe0c147c5c07067a442948dcf82d (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/drawseq.c')
-rw-r--r--source/blender/src/drawseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/src/drawseq.c b/source/blender/src/drawseq.c
index d1c41eebc23..81da1d40b9f 100644
--- a/source/blender/src/drawseq.c
+++ b/source/blender/src/drawseq.c
@@ -646,7 +646,7 @@ void drawseqspace(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) {