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

+ 2 - 0
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);