Browse Source

Merge pull request #14396 from MattUV/fix-templates-link

Fix Manage Export Templates link
Rémi Verschelde 7 years ago
parent
commit
793a741f9c
3 changed files with 3 additions and 0 deletions
  1. 1 0
      editor/editor_export.cpp
  2. 1 0
      platform/iphone/export/export.cpp
  3. 1 0
      platform/osx/export/export.cpp

+ 1 - 0
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;
 	}
 

+ 1 - 0
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;
 }
 

+ 1 - 0
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;
 }