summaryrefslogtreecommitdiff
path: root/platform/uwp/export/export.cpp
diff options
context:
space:
mode:
authorGromph <361560+Gromph@users.noreply.github.com>2021-04-13 21:16:36 -0700
committerGromph <361560+Gromph@users.noreply.github.com>2021-04-14 09:23:27 -0700
commit564ddcde7724310a8ac50e374633e57af1e945cf (patch)
tree5107a5c27928317149af76ade87554f674aa8c08 /platform/uwp/export/export.cpp
parenta86e7c3bb7d9238e664be8a7c63d1cc19bde0d8c (diff)
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.
Diffstat (limited to 'platform/uwp/export/export.cpp')
-rw-r--r--platform/uwp/export/export.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/uwp/export/export.cpp b/platform/uwp/export/export.cpp
index 2a0bc78440..800a728033 100644
--- a/platform/uwp/export/export.cpp
+++ b/platform/uwp/export/export.cpp
@@ -1177,6 +1177,8 @@ public:
}
virtual Error export_project(const Ref<EditorExportPreset> &p_preset, bool p_debug, const String &p_path, int p_flags = 0) override {
+ ExportNotifier notifier(*this, p_preset, p_debug, p_path, p_flags);
+
String src_appx;
EditorProgress ep("export", "Exporting for UWP", 7, true);