diff options
author | kobewi <kobewi4e@gmail.com> | 2022-06-03 01:33:42 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-07-29 19:53:09 +0200 |
commit | c3606cb5f3ab82248cac0d748bb291aa978b0b58 (patch) | |
tree | 8d5e0c810a7cb1732dcd4754515cf5325bcea10f /editor/import/scene_import_settings.cpp | |
parent | ba3734e69a2f2a4f6c4f908958268762fd805cd2 (diff) |
Swap arguments of ResourceSaver.save()
Diffstat (limited to 'editor/import/scene_import_settings.cpp')
-rw-r--r-- | editor/import/scene_import_settings.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/scene_import_settings.cpp b/editor/import/scene_import_settings.cpp index 1c39c425b1..410f01a9c6 100644 --- a/editor/import/scene_import_settings.cpp +++ b/editor/import/scene_import_settings.cpp @@ -1184,7 +1184,7 @@ void SceneImportSettings::_save_dir_confirm() { ERR_CONTINUE(!material_map.has(id)); MaterialData &md = material_map[id]; - Error err = ResourceSaver::save(path, md.material); + Error err = ResourceSaver::save(md.material, path); if (err != OK) { EditorNode::get_singleton()->add_io_error(TTR("Can't make material external to file, write error:") + "\n\t" + path); continue; |