diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-09-10 15:08:40 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-09-10 17:00:24 +0400 |
commit | 3ad902764802b74868d623eea8da460948db2798 (patch) | |
tree | 734f0b8d45f6c2105c0f41b6f105b35b8ced49a3 /source/blender/blenkernel/BKE_font.h | |
parent | 64e955f52228b573aeffb96d0b74db8eb6931190 (diff) |
Text3D: fixes to selection
- clamp selection on entering editmode (Python may have changed).
- BKE_vfont_select_get no longer succeeds with an empty selection
this caused many operators to go ahead and operate on zero size array.
Diffstat (limited to 'source/blender/blenkernel/BKE_font.h')
-rw-r--r-- | source/blender/blenkernel/BKE_font.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_font.h b/source/blender/blenkernel/BKE_font.h index b60c833c686..e12ce3df476 100644 --- a/source/blender/blenkernel/BKE_font.h +++ b/source/blender/blenkernel/BKE_font.h @@ -93,6 +93,7 @@ bool BKE_vfont_to_curve_nubase(struct Main *bmain, struct Object *ob, int mode, bool BKE_vfont_to_curve(struct Main *bmain, struct Object *ob, int mode); int BKE_vfont_select_get(struct Object *ob, int *r_start, int *r_end); +void BKE_vfont_select_clamp(struct Object *ob); #ifdef __cplusplus } |