aboutsummaryrefslogtreecommitdiff
path: root/editor/editor_export.cpp
diff options
context:
space:
mode:
authorGeorge Marques2017-06-16 15:42:18 -0300
committerGeorge Marques2017-06-16 15:42:18 -0300
commit7966ebe6fa57e8ff5a855fe7010ae93594f1b9ee (patch)
tree3a5840123168c59cef5d0c97cdf66932c7decc5e /editor/editor_export.cpp
parentbd33fd0435b2d0dc97a7abb3e68b594185f4e6c3 (diff)
downloadgodot-7966ebe6fa57e8ff5a855fe7010ae93594f1b9ee.tar.gz
godot-7966ebe6fa57e8ff5a855fe7010ae93594f1b9ee.tar.zst
godot-7966ebe6fa57e8ff5a855fe7010ae93594f1b9ee.zip
Complete changing of resource extensions
Some places were missing in e42d59f.
Diffstat (limited to '')
-rw-r--r--editor/editor_export.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_export.cpp b/editor/editor_export.cpp
index a19819a1f..5cd00738a 100644
--- a/editor/editor_export.cpp
+++ b/editor/editor_export.cpp
@@ -1943,14 +1943,14 @@ Error EditorExportPlatform::export_project_files(EditorExportSaveFunction p_func
atex->set_region(region);
atex->set_margin(margin);
- String path = EditorSettings::get_singleton()->get_settings_path()+"/tmp/tmpatlas.atex";
+ String path = EditorSettings::get_singleton()->get_settings_path()+"/tmp/tmpatlas.atlastex";
Error err = ResourceSaver::save(path,atex);
if (err!=OK) {
EditorNode::add_io_error(TTR("Could not save atlas subtexture:")+" "+path);
return ERR_CANT_CREATE;
}
Vector<uint8_t> data = FileAccess::get_file_as_array(path);
- String dst_path = F->get().operator String().get_basename()+".atex";
+ String dst_path = F->get().operator String().get_basename()+".atlastex";
err = p_func(p_udata,dst_path,data,counter++,files.size());
saved.insert(dst_path);
if (err)