1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +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:
Rémi Verschelde
2020-04-20 16:32:45 +02:00
parent 9cf48b3e99
commit 2cd952bd84
8 changed files with 10 additions and 5 deletions

View File

@@ -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) {