Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateusz Grzeliński <grzelinskimat@gmail.com>2020-08-16 18:09:51 +0300
committerMateusz Grzeliński <grzelinskimat@gmail.com>2020-08-16 18:09:51 +0300
commitd973362bd8eefcde4c4e2c529aca4b4bc5c1c7c5 (patch)
tree21b64a22b0f622fce2f4c30e8dd5387c0ac8d4d1 /release
parentad77e7c853fca2647de4458a59aa57d84c5ff0e0 (diff)
Info editor: add context menu operators for adding filters
Diffstat (limited to 'release')
-rw-r--r--release/scripts/startup/bl_ui/space_info.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/space_info.py b/release/scripts/startup/bl_ui/space_info.py
index a433d558adc..b24ef9b65c9 100644
--- a/release/scripts/startup/bl_ui/space_info.py
+++ b/release/scripts/startup/bl_ui/space_info.py
@@ -164,6 +164,12 @@ class INFO_MT_context_menu(Menu):
layout.operator("info.clog_copy", text="Copy Path").method = 'COPY_PATH'
layout.operator("info.clog_copy", text="Copy Basename").method = 'COPY_BASENAME'
layout.operator("info.clog_delete", text="Delete (mockup)")
+ layout.separator()
+ layout.operator("info.clog_filter", text="Mute Selected Files").method = 'FILTER_FILE'
+ layout.operator("info.clog_filter", text="Mute Selected Lines").method = 'FILTER_LINE'
+ layout.operator("info.clog_filter", text="Mute Selected Functions").method = 'FILTER_FUNCTION'
+ layout.operator("info.clog_filter", text="Mute Selected Loggers").method = 'FILTER_LOG_TYPE'
+
class INFO_PT_log_formatting(Panel):