Hide redundant categories from project settings

(cherry picked from commit 1a9635cc57)
This commit is contained in:
kobewi 2022-05-27 02:23:24 +02:00 committed by Rémi Verschelde
parent 46b7133967
commit 309ad643a9

View file

@ -260,6 +260,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.empty() && !_property_path_matches(pi.name, filter, name_style)) {
continue;
}