mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-23 18:25:17 +00:00
Rename directory for export templates from templates to export_templates
This commit is contained in:
@@ -491,7 +491,7 @@ Ref<ImageTexture> EditorExportPlatform::get_option_icon(int p_index) const {
|
||||
|
||||
String EditorExportPlatform::find_export_template(String template_file_name, String *err) const {
|
||||
String current_version = VERSION_FULL_CONFIG;
|
||||
String template_path = EditorSettings::get_singleton()->get_templates_dir().plus_file(current_version).plus_file(template_file_name);
|
||||
String template_path = EditorSettings::get_singleton()->get_export_templates_dir().plus_file(current_version).plus_file(template_file_name);
|
||||
|
||||
if (FileAccess::exists(template_path)) {
|
||||
return template_path;
|
||||
|
||||
Reference in New Issue
Block a user