diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-03-02 15:43:54 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2009-03-02 15:43:54 +0300 |
commit | 143fb8e131b7704c9a2a82f15eb69b37d4035105 (patch) | |
tree | 5a29b0a45038b4db0a60811ebf8519bbaeb9fc26 /source/blender/editors | |
parent | acc8d06b777c5c0aa812295014b421c2a5badcf2 (diff) |
2.5: bugfix, new text space was not initialized correct.
Diffstat (limited to 'source/blender/editors')
-rw-r--r-- | source/blender/editors/space_text/space_text.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/editors/space_text/space_text.c b/source/blender/editors/space_text/space_text.c index 6418576cb57..160b93d185e 100644 --- a/source/blender/editors/space_text/space_text.c +++ b/source/blender/editors/space_text/space_text.c @@ -73,6 +73,10 @@ static SpaceLink *text_new(const bContext *C) stext= MEM_callocN(sizeof(SpaceText), "inittext"); stext->spacetype= SPACE_TEXT; + + stext->font_id= 5; + stext->lheight= 12; + stext->tabnumber= 4; /* header */ ar= MEM_callocN(sizeof(ARegion), "header for text"); |