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:
2020-07-13 16:15:52 +02:00
committed by Jeroen Bakker
parent a3db0850b4
commit 833f67bf51

View File

@@ -933,13 +933,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) {