diff options
Diffstat (limited to 'tools/editor/doc/doc_data.cpp')
-rw-r--r-- | tools/editor/doc/doc_data.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/editor/doc/doc_data.cpp b/tools/editor/doc/doc_data.cpp index e0a4750862..47b8edfa04 100644 --- a/tools/editor/doc/doc_data.cpp +++ b/tools/editor/doc/doc_data.cpp @@ -158,6 +158,13 @@ void DocData::merge_from(const DocData& p_data) { } +void DocData::remove_from(const DocData &p_data) { + for(Map<String,ClassDoc>::Element* E=p_data.class_list.front(); E; E=E->next()) { + if(class_list.has(E->key())) + class_list.erase(E->key()); + } +} + void DocData::generate(bool p_basic_types) { |