diff options
Diffstat (limited to 'editor')
-rw-r--r-- | editor/editor_export.cpp | 21 | ||||
-rw-r--r-- | editor/editor_export.h | 3 |
2 files changed, 0 insertions, 24 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp index d36f6b7e73..afb5bd9d4d 100644 --- a/editor/editor_export.cpp +++ b/editor/editor_export.cpp @@ -1819,23 +1819,6 @@ bool EditorExportPlatformPC::can_export(const Ref<EditorExportPreset> &p_preset, return valid; } -List<String> EditorExportPlatformPC::get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const { - List<String> list; - for (const KeyValue<String, String> &E : extensions) { - if (p_preset->get(E.key)) { - list.push_back(extensions[E.key]); - return list; - } - } - - if (extensions.has("default")) { - list.push_back(extensions["default"]); - return list; - } - - return list; -} - Error EditorExportPlatformPC::export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags) { ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags); @@ -1927,10 +1910,6 @@ Error EditorExportPlatformPC::sign_shared_object(const Ref<EditorExportPreset> & return OK; } -void EditorExportPlatformPC::set_extension(const String &p_extension, const String &p_feature_key) { - extensions[p_feature_key] = p_extension; -} - void EditorExportPlatformPC::set_name(const String &p_name) { name = p_name; } diff --git a/editor/editor_export.h b/editor/editor_export.h index 8cca202574..108abab29b 100644 --- a/editor/editor_export.h +++ b/editor/editor_export.h @@ -425,7 +425,6 @@ private: Ref<ImageTexture> logo; String name; String os_name; - Map<String, String> extensions; String release_file_32; String release_file_64; @@ -444,11 +443,9 @@ public: virtual Ref<Texture2D> get_logo() const override; virtual bool can_export(const Ref<EditorExportPreset> &p_preset, String &r_error, bool &r_missing_templates) const override; - virtual List<String> get_binary_extensions(const Ref<EditorExportPreset> &p_preset) const override; virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) override; virtual Error sign_shared_object(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path); - void set_extension(const String &p_extension, const String &p_feature_key = "default"); void set_name(const String &p_name); void set_os_name(const String &p_name); |