Merge pull request #63024 from Xwdit/fix_grouping_annotation_in_doc

This commit is contained in:
Rémi Verschelde 2022-07-18 15:29:11 +02:00 committed by GitHub
commit 4e9d3130f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -536,6 +536,9 @@ void GDScript::_update_doc() {
List<PropertyInfo> props;
_get_script_property_list(&props, false);
for (int i = 0; i < props.size(); i++) {
if (props[i].usage & PROPERTY_USAGE_CATEGORY || props[i].usage & PROPERTY_USAGE_GROUP || props[i].usage & PROPERTY_USAGE_SUBGROUP) {
continue;
}
ScriptMemberInfo scr_member_info;
scr_member_info.propinfo = props[i];
scr_member_info.propinfo.usage |= PROPERTY_USAGE_NIL_IS_VARIANT;