Browse Source

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 564ddcde7724310a8ac50e374633e57af1e945cf)
Gromph 4 years ago
parent
commit
d964b86249
1 changed files with 1 additions and 0 deletions
  1. 1 0
      platform/uwp/export/export.cpp

+ 1 - 0
platform/uwp/export/export.cpp

@@ -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;