Merge pull request #30079 from YeldhamDev/help_feature_filter_fix
Fix certain items not appearing in search tree when a feature profile is set
This commit is contained in:
commit
eeee1dc73e
1 changed files with 5 additions and 1 deletions
|
@ -260,7 +260,11 @@ bool EditorHelpSearch::Runner::_is_class_disabled_by_feature_profile(const Strin
|
|||
StringName class_name = p_class;
|
||||
while (class_name != StringName()) {
|
||||
|
||||
if (!ClassDB::class_exists(class_name) || profile->is_class_disabled(class_name)) {
|
||||
if (!ClassDB::class_exists(class_name)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (profile->is_class_disabled(class_name)) {
|
||||
return true;
|
||||
}
|
||||
class_name = ClassDB::get_parent_class(class_name);
|
||||
|
|
Loading…
Reference in a new issue