1
0
Fork 0

Merge pull request #61450 from KoBeWi/autohide

Hide redundant categories from project settings
This commit is contained in:
Rémi Verschelde 2022-05-31 12:21:08 +02:00 committed by GitHub
commit c1460b9413
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -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;
}