diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-15 13:06:25 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-15 13:06:25 +0400 |
commit | 42eb36ecf6e09b2d3801bf367d12e469b7322c00 (patch) | |
tree | 02e608211b1e374a6dbd40ee14a034f396a5ea8c /source/blender/makesdna/DNA_vfont_types.h | |
parent | c742a4b62b26b7878c122d8a204ccf0c2d934dde (diff) |
Fix 3D font selection and material lagging behind with vertical cursor motion
Diffstat (limited to 'source/blender/makesdna/DNA_vfont_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_vfont_types.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_vfont_types.h b/source/blender/makesdna/DNA_vfont_types.h index 416c5f594a3..14ec6c9b312 100644 --- a/source/blender/makesdna/DNA_vfont_types.h +++ b/source/blender/makesdna/DNA_vfont_types.h @@ -65,6 +65,9 @@ typedef struct VFont { #define FO_PAGEDOWN 9 #define FO_SELCHANGE 10 +/* BKE_vfont_to_curve will move the cursor in these cases */ +#define FO_CURS_IS_MOTION(mode) (ELEM4(mode, FO_CURSUP, FO_CURSDOWN, FO_PAGEUP, FO_PAGEDOWN)) + #define FO_BUILTIN_NAME "<builtin>" #endif /* __DNA_VFONT_TYPES_H__ */ |