diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-29 22:30:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-29 22:30:51 +0200 |
commit | 15a02c49be7f552eb79512cff7511144023cedbe (patch) | |
tree | 009a554dc59b24d78df0b1303f6a7077f075913e /editor/import/scene_import_settings.cpp | |
parent | d8f757c62deb85024047ebb5c28b59633adf9247 (diff) | |
parent | c3606cb5f3ab82248cac0d748bb291aa978b0b58 (diff) |
Merge pull request #61647 from KoBeWi/SaverResource
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; |