mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-08 11:46:53 +08:00
[godot] Fix error message when deleting a mix in a skeleton data asset.
This commit is contained in:
parent
361639ed75
commit
5c0bb6e36b
@ -220,7 +220,7 @@ void SpineEditorPropertyAnimationMixes::update_property() {
|
|||||||
hbox->add_child(delete_button);
|
hbox->add_child(delete_button);
|
||||||
delete_button->set_text("Remove");
|
delete_button->set_text("Remove");
|
||||||
#if VERSION_MAJOR > 3
|
#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
|
#else
|
||||||
delete_button->connect(SNAME("pressed"), this, SNAME("delete_mix"), varray(i));
|
delete_button->connect(SNAME("pressed"), this, SNAME("delete_mix"), varray(i));
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user