[Bf-blender-cvs] [833f67bf513] blender-v2.83-release: Fix T78037: fresh install of blender 2.83.0 not able to save user startup file.

Bastien Montagne noreply at git.blender.org
Wed Jul 29 10:53:10 CEST 2020


Commit: 833f67bf513221cfde7cb0f13d66a9598a48444d
Author: Bastien Montagne
Date:   Mon Jul 13 16:15:52 2020 +0200
Branches: blender-v2.83-release
https://developer.blender.org/rB833f67bf513221cfde7cb0f13d66a9598a48444d

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 cc81e4f2715..d4cb56fb4ba 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -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) {



More information about the Bf-blender-cvs mailing list