Fix T78037: fresh install of blender 2.83.0 not able to save user startup file.

Simply remove that check ob userdef's themes, we are never read any
userdef from startup file anymore, so this check makes no more sense.

To be backported to 2.83.
This commit is contained in:
Bastien Montagne 2020-07-13 16:15:52 +02:00
parent 952279a366
commit 16989c4d1d
Notes: blender-bot 2023-09-13 08:48:34 +02:00
Referenced by issue #78037, fresh install of blender 2.83.0 not able to save user startup file
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
1 changed files with 0 additions and 7 deletions

View File

@ -1027,13 +1027,6 @@ void wm_homefile_read(bContext *C,
},
NULL);
}
if (BLI_listbase_is_empty(&U.themes)) {
if (G.debug & G_DEBUG) {
printf("\nNote: No (valid) '%s' found, fall back to built-in default.\n\n",
filepath_startup);
}
success = false;
}
if (success) {
if (update_defaults) {
if (use_data) {