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:
authorCampbell Barton <ideasman42@gmail.com>2014-05-15 13:06:25 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-15 13:06:25 +0400
commit42eb36ecf6e09b2d3801bf367d12e469b7322c00 (patch)
tree02e608211b1e374a6dbd40ee14a034f396a5ea8c /source/blender/makesdna/DNA_vfont_types.h
parentc742a4b62b26b7878c122d8a204ccf0c2d934dde (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.h3
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__ */