summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMattUV <matt.huve@gmail.com>2017-12-08 00:38:47 +0100
committerMattUV <matt.huve@gmail.com>2017-12-08 00:46:03 +0100
commit93231819c28be2895d6e56073e1b5599cd60b888 (patch)
tree97b80ca770027ca9c4e825f21be03d2103385aaf
parentdcab01618ae9eaa18e16b377728125379a8f48bc (diff)
Fix Manage Export Templates link
In some cases, the link to download export templates was missing. Fixes #14391
-rw-r--r--editor/editor_export.cpp1
-rw-r--r--platform/iphone/export/export.cpp1
-rw-r--r--platform/osx/export/export.cpp1
3 files changed, 3 insertions, 0 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index fc73964764..3f618c3199 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -1261,6 +1261,7 @@ bool EditorExportPlatformPC::can_export(const Ref<EditorExportPreset> &p_preset,
if (custom_debug_binary == "" && custom_release_binary == "") {
if (!err.empty())
r_error = err;
+ r_missing_templates = !valid;
return valid;
}
diff --git a/platform/iphone/export/export.cpp b/platform/iphone/export/export.cpp
index 444c9287ad..1833bdf2b3 100644
--- a/platform/iphone/export/export.cpp
+++ b/platform/iphone/export/export.cpp
@@ -974,6 +974,7 @@ bool EditorExportPlatformIOS::can_export(const Ref<EditorExportPreset> &p_preset
if (!err.empty())
r_error = err;
+ r_missing_templates = !valid;
return valid;
}
diff --git a/platform/osx/export/export.cpp b/platform/osx/export/export.cpp
index 8091a38adb..d3b763b42e 100644
--- a/platform/osx/export/export.cpp
+++ b/platform/osx/export/export.cpp
@@ -605,6 +605,7 @@ bool EditorExportPlatformOSX::can_export(const Ref<EditorExportPreset> &p_preset
if (!err.empty())
r_error = err;
+ r_missing_templates = !valid;
return valid;
}