mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 10:31:15 +00:00
Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
This commit is contained in:
parent
14d021287b
commit
d4433ae6d3
149 changed files with 645 additions and 708 deletions
|
|
@ -291,7 +291,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
|||
Button *b = memnew(Button);
|
||||
hbc->add_child(b);
|
||||
b->set_text("..");
|
||||
b->connect("pressed", callable_mp(this, &MultiMeshEditor::_browse), make_binds(false));
|
||||
b->connect("pressed", callable_mp(this, &MultiMeshEditor::_browse).bind(false));
|
||||
|
||||
vbc->add_margin_child(TTR("Target Surface:"), hbc);
|
||||
|
||||
|
|
@ -303,7 +303,7 @@ MultiMeshEditor::MultiMeshEditor() {
|
|||
hbc->add_child(b);
|
||||
b->set_text("..");
|
||||
vbc->add_margin_child(TTR("Source Mesh:"), hbc);
|
||||
b->connect("pressed", callable_mp(this, &MultiMeshEditor::_browse), make_binds(true));
|
||||
b->connect("pressed", callable_mp(this, &MultiMeshEditor::_browse).bind(true));
|
||||
|
||||
populate_axis = memnew(OptionButton);
|
||||
populate_axis->add_item(TTR("X-Axis"));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue