mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +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);
|
||||
delete_button->set_text("Remove");
|
||||
#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
|
||||
delete_button->connect("pressed", this, "delete_mix", varray(i));
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user