diff options
| author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-02-22 13:13:51 +0100 |
|---|---|---|
| committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2018-02-25 20:56:27 +0100 |
| commit | f37090ccf4f699800a43878273b8b94b5906f4bc (patch) | |
| tree | 2ae483b9c89320bacd7e6ad1939448d9741ba0d9 /modules/mono/editor/godotsharp_export.cpp | |
| parent | 125fc8cc4432d28e63da76c3a2aff655b1a7cc6b (diff) | |
| download | redot-engine-f37090ccf4f699800a43878273b8b94b5906f4bc.tar.gz | |
Mono: Better versioning and gracefully unloading of Godot API assemblies
Diffstat (limited to 'modules/mono/editor/godotsharp_export.cpp')
| -rw-r--r-- | modules/mono/editor/godotsharp_export.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/mono/editor/godotsharp_export.cpp b/modules/mono/editor/godotsharp_export.cpp index 387929a02e..cd09e6516a 100644 --- a/modules/mono/editor/godotsharp_export.cpp +++ b/modules/mono/editor/godotsharp_export.cpp @@ -55,6 +55,9 @@ void GodotSharpExport::_export_begin(const Set<String> &p_features, bool p_debug // TODO right now there is no way to stop the export process with an error + ERR_FAIL_COND(!GDMono::get_singleton()->is_runtime_initialized()); + ERR_FAIL_NULL(GDMono::get_singleton()->get_tools_domain()); + String build_config = p_debug ? "Debug" : "Release"; ERR_FAIL_COND(!GodotSharpBuilds::build_project_blocking(build_config)); |
