mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +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
|
@ -172,7 +172,7 @@ void ScriptTextEditor::_update_member_keywords() {
|
|||
|
||||
for (List<PropertyInfo>::Element *E = plist.front(); E; E = E->next()) {
|
||||
String name = E->get().name;
|
||||
if (E->get().usage & PROPERTY_USAGE_CATEGORY || E->get().usage & PROPERTY_USAGE_GROUP)
|
||||
if (E->get().usage & PROPERTY_USAGE_CATEGORY || E->get().usage & PROPERTY_USAGE_GROUP || E->get().usage & PROPERTY_USAGE_SUBGROUP)
|
||||
continue;
|
||||
if (name.find("/") != -1)
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue