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:
authorDalai Felinto <dfelinto@gmail.com>2017-03-09 21:20:31 +0300
committerDalai Felinto <dfelinto@gmail.com>2017-03-09 21:20:31 +0300
commitaca29bcc65d193ba38c50f375c6b390910220b9d (patch)
tree7e0bdf32cb29c8d9907f211677c1cf75d9813632 /source/blender/editors/space_info
parent01b2071c14d1be96b965e39138e008ae6cfb1d40 (diff)
Immediate Mode: Fix text color for Info and Console editors
Bug introduced in rB4b365064cfbd
Diffstat (limited to 'source/blender/editors/space_info')
-rw-r--r--source/blender/editors/space_info/textview.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/editors/space_info/textview.c b/source/blender/editors/space_info/textview.c
index 8ee488ac591..bc9d7365e4e 100644
--- a/source/blender/editors/space_info/textview.c
+++ b/source/blender/editors/space_info/textview.c
@@ -251,6 +251,7 @@ static int console_draw_string(ConsoleDrawContext *cdc, const char *str, int str
immUnbindProgram();
}
+ BLF_color3ubv(cdc->font_id, fg);
BLF_position(cdc->font_id, cdc->xy[0], cdc->lofs + cdc->xy[1], 0);
BLF_draw_mono(cdc->font_id, str, str_len, cdc->cwidth);