mirror of
https://github.com/godotengine/godot
synced 2024-09-05 19:39:49 +00:00
Fix grouping annotations displayed in document
This commit is contained in:
parent
9904a9db5a
commit
152466938f
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue