diff options
author | Xwdit <xwditfr@gmail.com> | 2022-07-15 06:00:21 +0200 |
---|---|---|
committer | Xwdit <44023235+Xwdit@users.noreply.github.com> | 2022-07-15 12:39:52 +0200 |
commit | 152466938f8c86d64ebd9cd1c72b1fc2f2422398 (patch) | |
tree | c41782ee3a5730dd1471a3e8a74502dbb71037cc /modules/gdscript | |
parent | 9904a9db5a90f2f1896b6b7e1603ca2dd2745bad (diff) |
Fix grouping annotations displayed in document
Diffstat (limited to 'modules/gdscript')
-rw-r--r-- | modules/gdscript/gdscript.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gdscript/gdscript.cpp b/modules/gdscript/gdscript.cpp index e7aa3214b4..e74314389d 100644 --- a/modules/gdscript/gdscript.cpp +++ b/modules/gdscript/gdscript.cpp @@ -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; |