diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2020-12-02 14:15:38 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-02 14:15:38 +0100 |
| commit | d1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (patch) | |
| tree | f7ceec96ce5251a3f7ed7ed33abcb163f29f0ad3 /editor/editor_inspector.cpp | |
| parent | 0019aa940e661fcc5e6b8f333ca291ba8726e6e4 (diff) | |
| parent | 42bfa169960b59c5d9337e9f63862f5feae92d58 (diff) | |
| download | redot-engine-d1231be1c8f8f2c16fd1047adcd3c7f997a07c1f.tar.gz | |
Merge pull request #41095 from ThakeeNathees/GDScript-Documentation
GDScript(2.0) Documentation generation system
Diffstat (limited to 'editor/editor_inspector.cpp')
| -rw-r--r-- | editor/editor_inspector.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/editor/editor_inspector.cpp b/editor/editor_inspector.cpp index 0c419168c0..d88a0e3ff8 100644 --- a/editor/editor_inspector.cpp +++ b/editor/editor_inspector.cpp @@ -32,6 +32,7 @@ #include "array_property_edit.h" #include "dictionary_property_edit.h" +#include "editor/doc_tools.h" #include "editor_feature_profile.h" #include "editor_node.h" #include "editor_scale.h" @@ -1708,7 +1709,7 @@ void EditorInspector::update_tree() { StringName type2 = p.name; if (!class_descr_cache.has(type2)) { String descr; - DocData *dd = EditorHelp::get_doc_data(); + DocTools *dd = EditorHelp::get_doc_data(); Map<String, DocData::ClassDoc>::Element *E = dd->class_list.find(type2); if (E) { descr = DTR(E->get().brief_description); @@ -1878,7 +1879,7 @@ void EditorInspector::update_tree() { } if (!found) { - DocData *dd = EditorHelp::get_doc_data(); + DocTools *dd = EditorHelp::get_doc_data(); Map<String, DocData::ClassDoc>::Element *F = dd->class_list.find(classname); while (F && descr == String()) { for (int i = 0; i < F->get().properties.size(); i++) { |
