diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-21 10:08:28 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-21 10:12:43 +0300 |
commit | 13ee5ba467d69b80f025d0d2542ed190ad1667db (patch) | |
tree | 1a1416b63571592d37876a8c6278cca81120dc68 /source/blender/blenkernel/BKE_font.h | |
parent | aeda1a16f3e40b01da9afd573f1811a5212bdf34 (diff) |
Store edit-font select-box length
A little awkward to calculate when drawing.
Diffstat (limited to 'source/blender/blenkernel/BKE_font.h')
-rw-r--r-- | source/blender/blenkernel/BKE_font.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_font.h b/source/blender/blenkernel/BKE_font.h index 6775639125f..e7ae0f606e7 100644 --- a/source/blender/blenkernel/BKE_font.h +++ b/source/blender/blenkernel/BKE_font.h @@ -60,8 +60,9 @@ typedef struct EditFont { struct CharInfo *textbufinfo; /* array of rectangles & rotation */ - EditFontSelBox *selboxes; float textcurs[4][2]; + EditFontSelBox *selboxes; + int selboxes_len; /* positional vars relative to the textbuf, textbufinfo (not utf8 bytes) * a copy of these is kept in Curve, but use these in editmode */ |