From 4444bd1fcb53f7e127736100b3a2ec2d0a830cff Mon Sep 17 00:00:00 2001 From: WiggleWizard <1405402+WiggleWizard@users.noreply.github.com> Date: Thu, 23 May 2019 22:31:02 +0100 Subject: [PATCH] Fixed virtual method not showing up in autocomplete and docs (cherry picked from commit aebca30c43708a2ee6a1abc4d869eda88a3c27bb) --- doc/classes/EditorExportPlugin.xml | 6 ++++++ editor/editor_export.cpp | 1 + 2 files changed, 7 insertions(+) diff --git a/doc/classes/EditorExportPlugin.xml b/doc/classes/EditorExportPlugin.xml index 07c8eeccac5..76ff6df7939 100644 --- a/doc/classes/EditorExportPlugin.xml +++ b/doc/classes/EditorExportPlugin.xml @@ -21,6 +21,12 @@ + + + + + + diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index dc43faeff14..32f3c829864 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -611,6 +611,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() {