mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[godot] Closes #2132, errornous connect call.
This commit is contained in:
parent
1b97c2561c
commit
465879f180
@ -217,7 +217,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("pressed", callable_mp(this, &SpineEditorPropertyAnimationMixes::delete_mix), i);
|
delete_button->connect("pressed", callable_mp(this, &SpineEditorPropertyAnimationMixes::delete_mix).bind(varray(i)));
|
||||||
#else
|
#else
|
||||||
delete_button->connect("pressed", this, "delete_mix", varray(i));
|
delete_button->connect("pressed", this, "delete_mix", varray(i));
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user