You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Signals: Fix some regressions from #36426
- Fix `callable_mp` bindings to methods which used to have default arguments passed to `bind_method`. We now have to re-specify them manually when connecting. - Re-add `GroupsEditor::update_tree` binding. - Misc code quality changes along the way.
This commit is contained in:
@@ -990,7 +990,7 @@ SpriteFramesEditor::SpriteFramesEditor() {
|
||||
empty2->connect("pressed", callable_mp(this, &SpriteFramesEditor::_empty2_pressed));
|
||||
move_up->connect("pressed", callable_mp(this, &SpriteFramesEditor::_up_pressed));
|
||||
move_down->connect("pressed", callable_mp(this, &SpriteFramesEditor::_down_pressed));
|
||||
file->connect("files_selected", callable_mp(this, &SpriteFramesEditor::_file_load_request));
|
||||
file->connect("files_selected", callable_mp(this, &SpriteFramesEditor::_file_load_request), make_binds(-1));
|
||||
loading_scene = false;
|
||||
sel = -1;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user