diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2023-01-18 17:40:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-18 17:40:13 +0100 |
commit | bcaf048f33b21b2c26d1c861200231f23d7849db (patch) | |
tree | 1fcd45d5e67befd03905e2fd0e94e11cae60052b /modules/multiplayer | |
parent | 3f10f9f5ef3d75bbbbdd57b7ac8b86972138f679 (diff) | |
parent | 59ea36b87cb84ce40ebf702e65f0493dd1c40141 (diff) |
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
Remove set_drag_forwarding_compat()
Diffstat (limited to 'modules/multiplayer')
-rw-r--r-- | modules/multiplayer/editor/replication_editor.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/modules/multiplayer/editor/replication_editor.cpp b/modules/multiplayer/editor/replication_editor.cpp index 9b071ecc02..66e12a338a 100644 --- a/modules/multiplayer/editor/replication_editor.cpp +++ b/modules/multiplayer/editor/replication_editor.cpp @@ -250,14 +250,12 @@ ReplicationEditor::ReplicationEditor() { tree->add_child(drop_label); drop_label->set_anchors_and_offsets_preset(Control::PRESET_FULL_RECT); - tree->set_drag_forwarding_compat(this); + SET_DRAG_FORWARDING_CDU(tree, ReplicationEditor); } void ReplicationEditor::_bind_methods() { ClassDB::bind_method(D_METHOD("_update_config"), &ReplicationEditor::_update_config); ClassDB::bind_method(D_METHOD("_update_checked", "property", "column", "checked"), &ReplicationEditor::_update_checked); - ClassDB::bind_method("_can_drop_data_fw", &ReplicationEditor::_can_drop_data_fw); - ClassDB::bind_method("_drop_data_fw", &ReplicationEditor::_drop_data_fw); } bool ReplicationEditor::_can_drop_data_fw(const Point2 &p_point, const Variant &p_data, Control *p_from) const { |