mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 18:11:13 +00:00
Fix handling of PROPERTY_USAGE_SUBGROUP in DocData and editor
Subgroups were added in #37678 but not properly handled everywhere where PROPERTY_USAGE_GROUP is.
This commit is contained in:
parent
9cf48b3e99
commit
2cd952bd84
8 changed files with 10 additions and 5 deletions
|
|
@ -2057,7 +2057,7 @@ static void _find_identifiers_in_base(const GDScriptCompletionContext &p_context
|
|||
List<PropertyInfo> pinfo;
|
||||
ClassDB::get_property_list(type, &pinfo);
|
||||
for (List<PropertyInfo>::Element *E = pinfo.front(); E; E = E->next()) {
|
||||
if (E->get().usage & (PROPERTY_USAGE_GROUP | PROPERTY_USAGE_CATEGORY)) {
|
||||
if (E->get().usage & (PROPERTY_USAGE_GROUP | PROPERTY_USAGE_SUBGROUP | PROPERTY_USAGE_CATEGORY)) {
|
||||
continue;
|
||||
}
|
||||
if (E->get().name.find("/") != -1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue