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:
authorDiego Borghetti <bdiego@gmail.com>2009-03-02 08:20:48 +0300
committerDiego Borghetti <bdiego@gmail.com>2009-03-02 08:20:48 +0300
commitacc8d06b777c5c0aa812295014b421c2a5badcf2 (patch)
tree549d6b7a6d17c89edd682ff951db68b80c0af8b9 /source/blender/editors/space_info
parent06629033b30ae29a4d63372bcfc5e670d439891a (diff)
Cleanup a little before add internal font (bmfont).
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r--source/blender/editors/space_info/space_info.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/editors/space_info/space_info.c b/source/blender/editors/space_info/space_info.c
index f1968114b14..66d807eb69c 100644
--- a/source/blender/editors/space_info/space_info.c
+++ b/source/blender/editors/space_info/space_info.c
@@ -160,6 +160,7 @@ static void info_main_area_draw(const bContext *C, ARegion *ar)
glColor3f(0.0, 0.0, 1.0);
BLF_size(11, 96);
BLF_position(200.0, 50.0, 0.0);
+ BLF_enable(BLF_ROTATION);
BLF_rotation(45.0f);
BLF_draw("Another Hello Blender, size 11 and dpi 96!!");
@@ -172,7 +173,7 @@ static void info_main_area_draw(const bContext *C, ARegion *ar)
glColor3f(0.8, 0.7, 0.5);
BLF_size(12, 96);
BLF_position(5.0, 200.0, 0.0);
- BLF_rotation(0.0f);
+ BLF_disable(BLF_ROTATION);
BLF_draw("And this make a new glyph cache!!");
/* reset view matrix */