From 1a9635cc5708d68e81506575756658f42a5ce6a4 Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 27 May 2022 02:23:24 +0200 Subject: [PATCH] Hide redundant categories from project settings --- editor/editor_sectioned_inspector.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp index 801a1a464130..b7073665a82f 100644 --- a/editor/editor_sectioned_inspector.cpp +++ b/editor/editor_sectioned_inspector.cpp @@ -250,6 +250,11 @@ void SectionedInspector::update_category_list() { continue; } + // Filter out unnecessary ProjectSettings sections, as they already have their dedicated tabs. + if (pi.name.begins_with("autoload") || pi.name.begins_with("editor_plugins") || pi.name.begins_with("shader_globals")) { + continue; + } + if (!filter.is_empty() && !_property_path_matches(pi.name, filter, name_style)) { continue; }