summaryrefslogtreecommitdiff
path: root/editor/doc
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2019-06-03 13:03:05 +0200
committerRémi Verschelde <rverschelde@gmail.com>2019-06-03 13:03:05 +0200
commite1e3fcc908b622b7ee63cc31ddfc2d385e9e8fd8 (patch)
treea23444d39b5a25f241219ed8040787f99239ea89 /editor/doc
parenta25e52fb72dbf86e2af1787704ce6041e7b86799 (diff)
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>
Diffstat (limited to 'editor/doc')
-rw-r--r--editor/doc/doc_data.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/editor/doc/doc_data.cpp b/editor/doc/doc_data.cpp
index c2a492bc9a..7d2159d365 100644
--- a/editor/doc/doc_data.cpp
+++ b/editor/doc/doc_data.cpp
@@ -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;
}
}