Merge pull request #67707 from Cykyrios/hide-private-prop-description-in-classdoc
Fix private properties appearing in custom class doc Property Descriptions
This commit is contained in:
commit
bfe43f69b8
1 changed files with 4 additions and 0 deletions
|
@ -1540,6 +1540,10 @@ void EditorHelp::_update_doc() {
|
|||
if (cd.properties[i].overridden) {
|
||||
continue;
|
||||
}
|
||||
// Ignore undocumented private.
|
||||
if (cd.properties[i].name.begins_with("_") && cd.properties[i].description.strip_edges().is_empty()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
property_line[cd.properties[i].name] = class_desc->get_paragraph_count() - 2;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue