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
path: root/source
diff options
context:
space:
mode:
authorAlexander Ewering <blender@instinctive.de>2007-01-16 01:18:42 +0300
committerAlexander Ewering <blender@instinctive.de>2007-01-16 01:18:42 +0300
commit25267023684c0d2165dfe659f4f7db5b22c76193 (patch)
treedec47b6558bc19349e4fbd180168f15a5fdc7a31 /source
parent048bb84f8289804f8a295dcfdb05699d3ff1bb78 (diff)
Partial Bugfix #5713:
Textframe heights now draw exactly as set in the buttons.
Diffstat (limited to 'source')
-rw-r--r--source/blender/src/drawobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/src/drawobject.c b/source/blender/src/drawobject.c
index cdc49f49fe5..63124bbb207 100644
--- a/source/blender/src/drawobject.c
+++ b/source/blender/src/drawobject.c
@@ -3957,11 +3957,11 @@ void draw_object(Base *base, int flag)
glVertex3fv(vec1);
vec1[0] += cu->tb[i].w;
glVertex3fv(vec1);
- vec1[1] -= (cu->tb[i].h + cu->linedist*cu->fsize);
+ vec1[1] -= cu->tb[i].h;
glVertex3fv(vec1);
vec1[0] -= cu->tb[i].w;
glVertex3fv(vec1);
- vec1[1] += cu->tb[i].h + cu->linedist*cu->fsize;
+ vec1[1] += cu->tb[i].h;
glVertex3fv(vec1);
glEnd();
}