Merge pull request #16957 from akien-mga/version-macros

Refactor version macros and fix related bugs
This commit is contained in:
Rémi Verschelde
2018-02-24 01:20:50 +01:00
committed by GitHub
13 changed files with 43 additions and 23 deletions

View File

@@ -335,7 +335,7 @@ Error EditorExportPlatform::_save_zip_file(void *p_userdata, const String &p_pat
String EditorExportPlatform::find_export_template(String template_file_name, String *err) const {
String current_version = itos(VERSION_MAJOR) + "." + itos(VERSION_MINOR) + "-" + VERSION_STATUS + VERSION_MODULE_CONFIG;
String current_version = VERSION_FULL_CONFIG;
String template_path = EditorSettings::get_singleton()->get_templates_dir().plus_file(current_version).plus_file(template_file_name);
if (FileAccess::exists(template_path)) {