From 5c0bb6e36b5e4618333d16604f0bb6d33d07fcdb Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Thu, 5 Oct 2023 13:18:14 +0200 Subject: [PATCH] [godot] Fix error message when deleting a mix in a skeleton data asset. --- spine-godot/spine_godot/SpineEditorPlugin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spine-godot/spine_godot/SpineEditorPlugin.cpp b/spine-godot/spine_godot/SpineEditorPlugin.cpp index 6473afe3a..3fa4fbd1a 100644 --- a/spine-godot/spine_godot/SpineEditorPlugin.cpp +++ b/spine-godot/spine_godot/SpineEditorPlugin.cpp @@ -220,7 +220,7 @@ void SpineEditorPropertyAnimationMixes::update_property() { hbox->add_child(delete_button); delete_button->set_text("Remove"); #if VERSION_MAJOR > 3 - delete_button->connect(SNAME("pressed"), callable_mp(this, &SpineEditorPropertyAnimationMixes::delete_mix).bind(varray(i))); + delete_button->connect(SNAME("pressed"), callable_mp(this, &SpineEditorPropertyAnimationMixes::delete_mix).bind(i)); #else delete_button->connect(SNAME("pressed"), this, SNAME("delete_mix"), varray(i)); #endif