Commit: b426787f4ba029efa1a1efa6180cf5bd30ad1086
Author: Mateusz Grzeliński
Date:   Sat Aug 1 17:46:35 2020 +0200
Branches: soc-2020-info-editor
https://developer.blender.org/rBb426787f4ba029efa1a1efa6180cf5bd30ad1086

Fix UI: activate log verbosity on severity debug

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

M       release/scripts/startup/bl_ui/space_userpref.py

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

diff --git a/release/scripts/startup/bl_ui/space_userpref.py 
b/release/scripts/startup/bl_ui/space_userpref.py
index 37b67016e9d..3567fd06c73 100644
--- a/release/scripts/startup/bl_ui/space_userpref.py
+++ b/release/scripts/startup/bl_ui/space_userpref.py
@@ -658,7 +658,7 @@ class USERPREF_PT_system_logging(SystemPanel, 
CenterAlignMixIn, Panel):
         layout.prop(system, "log_severity")
 
         col = layout.column()
-        col.active = system.log_severity == 'LOG_VERBOSE'
+        col.active = system.log_severity in {'LOG_VERBOSE', 'LOG_DEBUG'}
         col.prop(system, "log_verbosity")
 
         layout.prop(system, "log_use_stdout")

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to