summaryrefslogtreecommitdiff
path: root/editor/plugins/skeleton_3d_editor_plugin.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-07-29 22:30:51 +0200
committerGitHub <noreply@github.com>2022-07-29 22:30:51 +0200
commit15a02c49be7f552eb79512cff7511144023cedbe (patch)
tree009a554dc59b24d78df0b1303f6a7077f075913e /editor/plugins/skeleton_3d_editor_plugin.cpp
parentd8f757c62deb85024047ebb5c28b59633adf9247 (diff)
parentc3606cb5f3ab82248cac0d748bb291aa978b0b58 (diff)
Merge pull request #61647 from KoBeWi/SaverResource
Diffstat (limited to 'editor/plugins/skeleton_3d_editor_plugin.cpp')
-rw-r--r--editor/plugins/skeleton_3d_editor_plugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/plugins/skeleton_3d_editor_plugin.cpp b/editor/plugins/skeleton_3d_editor_plugin.cpp
index 176dce0660..ed0d14efb7 100644
--- a/editor/plugins/skeleton_3d_editor_plugin.cpp
+++ b/editor/plugins/skeleton_3d_editor_plugin.cpp
@@ -515,7 +515,7 @@ void Skeleton3DEditor::_file_selected(const String &p_file) {
}
}
- Error err = ResourceSaver::save(p_file, sp);
+ Error err = ResourceSaver::save(sp, p_file);
if (err != OK) {
EditorNode::get_singleton()->show_warning(vformat(TTR("Error saving file: %s"), p_file));