doc: Fix DocData.merge_from copying old setters and getters

This is not necessary and means that some setters and getters
can end up wrong if they are changed in the bindings but DocData
does not update them when running --doctool.

Fixes #29425.

Co-authored-by: Bojidar Marinov <bojidar.marinov.bg@gmail.com>
This commit is contained in:
Rémi Verschelde
2019-06-03 13:03:05 +02:00
parent a25e52fb72
commit e1e3fcc908
6 changed files with 7 additions and 10 deletions

View File

@ -136,9 +136,6 @@ void DocData::merge_from(const DocData &p_data) {
const PropertyDoc &pf = cf.properties[j];
p.description = pf.description;
p.setter = pf.setter;
p.getter = pf.getter;
break;
}
}