Fix EditorExportPlugin _export_begin and _export_end functions not being called when exporting UWP

in uwp's version of export.cpp create a ExportNotifier object so that EditorExportPlugin _export_begin and _export_end functions will be called as documentated.

(cherry picked from commit 564ddcde77)
This commit is contained in:
Gromph 2021-04-13 21:16:36 -07:00 committed by Rémi Verschelde
parent 7a776d68b6
commit d964b86249
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1186,6 +1186,7 @@ public:
} }
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) { virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) {
ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags);
String src_appx; String src_appx;