mirror of
https://github.com/godotengine/godot.git
synced 2025-01-26 03:40:36 +00:00
Hide redundant categories from project settings
This commit is contained in:
parent
2e8862887c
commit
1a9635cc57
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user