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:
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user