Remove set_drag_forwarding_compat()
This commit is contained in:
parent
a51ca2beaf
commit
59ea36b87c
33 changed files with 34 additions and 152 deletions
|
|
@ -354,10 +354,6 @@ void ActionMapEditor::_notification(int p_what) {
|
|||
}
|
||||
|
||||
void ActionMapEditor::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_get_drag_data_fw"), &ActionMapEditor::get_drag_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_can_drop_data_fw"), &ActionMapEditor::can_drop_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_drop_data_fw"), &ActionMapEditor::drop_data_fw);
|
||||
|
||||
ADD_SIGNAL(MethodInfo("action_added", PropertyInfo(Variant::STRING, "name")));
|
||||
ADD_SIGNAL(MethodInfo("action_edited", PropertyInfo(Variant::STRING, "name"), PropertyInfo(Variant::DICTIONARY, "new_action")));
|
||||
ADD_SIGNAL(MethodInfo("action_removed", PropertyInfo(Variant::STRING, "name")));
|
||||
|
|
@ -578,7 +574,7 @@ ActionMapEditor::ActionMapEditor() {
|
|||
action_tree->connect("button_clicked", callable_mp(this, &ActionMapEditor::_tree_button_pressed));
|
||||
main_vbox->add_child(action_tree);
|
||||
|
||||
action_tree->set_drag_forwarding_compat(this);
|
||||
SET_DRAG_FORWARDING_GCD(action_tree, ActionMapEditor);
|
||||
|
||||
// Adding event dialog
|
||||
event_config_dialog = memnew(InputEventConfigurationDialog);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue