Fix private properties appearing in class doc Property Descriptions

This commit is contained in:
Cykyrios 2022-10-21 13:06:53 +02:00
parent 72b845b287
commit c4b410a64a

View file

@ -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;