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 <campbell@blender.org>2022-01-07 10:01:32 +0300
committerCampbell Barton <campbell@blender.org>2022-01-07 10:05:36 +0300
commit7c04bc9a0114b5b3a7159f5aade86d51719a4cf6 (patch)
treef63c249bb666443937e63e4602a19454e63353a2 /source/blender/makesdna/DNA_userdef_types.h
parentf24854005d8688fb86cf41bd62a63580c63f818d (diff)
Cleanup: exclude uiFont from DNA, rename filename -> filepath
This isn't saved to the preferences, so there is no need to store in DNA. Also remove unused `r_to_l` member.
Diffstat (limited to 'source/blender/makesdna/DNA_userdef_types.h')
-rw-r--r--source/blender/makesdna/DNA_userdef_types.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/source/blender/makesdna/DNA_userdef_types.h b/source/blender/makesdna/DNA_userdef_types.h
index 34415308ef6..a1a4f9381a3 100644
--- a/source/blender/makesdna/DNA_userdef_types.h
+++ b/source/blender/makesdna/DNA_userdef_types.h
@@ -55,17 +55,16 @@ typedef enum eUIFont_ID {
* Default fonts to load/initialize.
* First font is the default (index 0), others optional.
*/
+#
+#
typedef struct uiFont {
struct uiFont *next, *prev;
/** 1024 = FILE_MAX. */
- char filename[1024];
+ char filepath[1024];
/** From blfont lib. */
short blf_id;
/** Own id (eUIFont_ID). */
short uifont_id;
- /** Fonts that read from left to right. */
- short r_to_l;
- char _pad0[2];
} uiFont;
/** This state defines appearance of text. */