[Bf-blender-cvs] [16989c4d1d3] master: Fix T78037: fresh install of blender 2.83.0 not able to save user startup file.

Bastien Montagne noreply at git.blender.org
Mon Jul 13 16:22:17 CEST 2020


Commit: 16989c4d1d3283c316bbdb0486f02107647caeeb
Author: Bastien Montagne
Date:   Mon Jul 13 16:15:52 2020 +0200
Branches: master
https://developer.blender.org/rB16989c4d1d3283c316bbdb0486f02107647caeeb

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.

===================================================================

M	source/blender/windowmanager/intern/wm_files.c

===================================================================

diff --git a/source/blender/windowmanager/intern/wm_files.c b/source/blender/windowmanager/intern/wm_files.c
index d5a240a358e..f431a6f431b 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -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) {



More information about the Bf-blender-cvs mailing list