Fix private properties appearing in class doc Property Descriptions
This commit is contained in:
parent
72b845b287
commit
c4b410a64a
1 changed files with 4 additions and 0 deletions
|
@ -1489,6 +1489,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…
Reference in a new issue