[Bf-blender-cvs] [aa566dbd793] soc-2020-info-editor: Remove debug wrapper from log

Mateusz Grzeliński noreply at git.blender.org
Wed Jul 1 17:43:39 CEST 2020


Commit: aa566dbd793d7082572c04d39ac852d47a5b1330
Author: Mateusz Grzeliński
Date:   Wed Jul 1 16:30:30 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rBaa566dbd793d7082572c04d39ac852d47a5b1330

Remove debug wrapper from log

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

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 e9276d1cac9..bd85937af6e 100644
--- a/source/blender/windowmanager/intern/wm_files.c
+++ b/source/blender/windowmanager/intern/wm_files.c
@@ -1029,12 +1029,10 @@ void wm_homefile_read(bContext *C,
                                    NULL);
     }
     if (BLI_listbase_is_empty(&U.themes)) {
-      if (G.debug & G_DEBUG) {
-        CLOG_INFO(WM_LOG_SESSION,
-                  0,
-                  "Note: No (valid) '%s' found, fall back to built-in default",
-                  filepath_startup);
-      }
+      CLOG_INFO(WM_LOG_SESSION,
+                1,
+                "Note: No (valid) '%s' found, fall back to built-in default",
+                filepath_startup);
       success = false;
     }
     if (success) {



More information about the Bf-blender-cvs mailing list