From c3606cb5f3ab82248cac0d748bb291aa978b0b58 Mon Sep 17 00:00:00 2001 From: kobewi Date: Fri, 3 Jun 2022 01:33:42 +0200 Subject: Swap arguments of ResourceSaver.save() --- editor/plugins/skeleton_3d_editor_plugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'editor/plugins/skeleton_3d_editor_plugin.cpp') 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)); -- cgit v1.2.3