diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-05-24 12:05:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-24 12:05:56 +0200 |
commit | 0fcd2bf982463fec9663b74fdd0b1413d3585d24 (patch) | |
tree | 2fc3e9cfcd9ea648d438668ce8d13f5260a406aa | |
parent | a46b8e1ebfa0ef97c1fba046c6f2d975973c9401 (diff) | |
parent | aebca30c43708a2ee6a1abc4d869eda88a3c27bb (diff) |
Merge pull request #29139 from WiggleWizard/fix-export-plugin-doc
Fixed virtual method not showing up in autocomplete and docs
-rw-r--r-- | doc/classes/EditorExportPlugin.xml | 6 | ||||
-rw-r--r-- | editor/editor_export.cpp | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/doc/classes/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml index 998b05d495..4e4e29dc4e 100644 --- a/doc/classes/EditorExportPlugin.xml +++ b/doc/classes/EditorExportPlugin.xml @@ -21,6 +21,12 @@ <description> </description> </method> + <method name="_export_end" qualifiers="virtual"> + <return type="void"> + </return> + <description> + </description> + </method> <method name="_export_file" qualifiers="virtual"> <return type="void"> </return> diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index 6751e58bb2..df481e0855 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -615,6 +615,7 @@ void EditorExportPlugin::_bind_methods() { BIND_VMETHOD(MethodInfo("_export_file", PropertyInfo(Variant::STRING, "path"), PropertyInfo(Variant::STRING, "type"), PropertyInfo(Variant::POOL_STRING_ARRAY, "features"))); BIND_VMETHOD(MethodInfo("_export_begin", PropertyInfo(Variant::POOL_STRING_ARRAY, "features"), PropertyInfo(Variant::BOOL, "is_debug"), PropertyInfo(Variant::STRING, "path"), PropertyInfo(Variant::INT, "flags"))); + BIND_VMETHOD(MethodInfo("_export_end")); } EditorExportPlugin::EditorExportPlugin() { |