diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-05-31 12:21:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-31 12:21:08 +0200 |
commit | c1460b94131b037381d402bf5e8eb54ae2bc2cdd (patch) | |
tree | 7fd9e108bbf8e82ca87aa52817fdf1825cb33100 /editor | |
parent | cea54a0357322935e4c872f0ef46cd0a443483df (diff) | |
parent | 1a9635cc5708d68e81506575756658f42a5ce6a4 (diff) |
Merge pull request #61450 from KoBeWi/autohide
Hide redundant categories from project settings
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_sectioned_inspector.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/editor/editor_sectioned_inspector.cpp b/editor/editor_sectioned_inspector.cpp index 801a1a4641..b7073665a8 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; } |