diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2019-05-19 02:40:33 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2019-05-19 02:40:33 +0300 |
commit | 5f2578f32fdd3cf49d5299f0553dc756e4f670cf (patch) | |
tree | 65fd9d8faff4c327f94194fa609c382bfec52c1c /source/blender/blenloader/intern/versioning_defaults.c | |
parent | 1fce0460d5222604e7007518bc246c97286312f3 (diff) |
UI: Default Directory for Windows Fonts
This patch gives new Windows users a better default preference for fonts folder
Differential Revision: https://developer.blender.org/D4725
Reviewed by Campbell Barton and Brecht Van Lommel
Diffstat (limited to 'source/blender/blenloader/intern/versioning_defaults.c')
-rw-r--r-- | source/blender/blenloader/intern/versioning_defaults.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/versioning_defaults.c b/source/blender/blenloader/intern/versioning_defaults.c index d13f976a759..604974e5075 100644 --- a/source/blender/blenloader/intern/versioning_defaults.c +++ b/source/blender/blenloader/intern/versioning_defaults.c @@ -94,6 +94,9 @@ void BLO_update_defaults_userpref_blend(void) /* Leave temp directory empty, will then get appropriate value per OS. */ U.tempdir[0] = '\0'; + /* System-specific fonts directory */ + BKE_appdir_fonts_folder_default(U.fontdir); + /* Only enable tooltips translation by default, * without actually enabling translation itself, for now. */ U.transopts = USER_TR_TOOLTIPS; |