Remove set_drag_forwarding_compat()
This commit is contained in:
parent
a51ca2beaf
commit
59ea36b87c
33 changed files with 34 additions and 152 deletions
|
|
@ -1373,10 +1373,6 @@ void SceneTreeEditor::_bind_methods() {
|
|||
ClassDB::bind_method("_rename_node", &SceneTreeEditor::_rename_node);
|
||||
ClassDB::bind_method("_test_update_tree", &SceneTreeEditor::_test_update_tree);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_get_drag_data_fw"), &SceneTreeEditor::get_drag_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_can_drop_data_fw"), &SceneTreeEditor::can_drop_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_drop_data_fw"), &SceneTreeEditor::drop_data_fw);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("update_tree"), &SceneTreeEditor::update_tree);
|
||||
|
||||
ADD_SIGNAL(MethodInfo("node_selected"));
|
||||
|
|
@ -1419,7 +1415,7 @@ SceneTreeEditor::SceneTreeEditor(bool p_label, bool p_can_rename, bool p_can_ope
|
|||
|
||||
add_child(tree);
|
||||
|
||||
tree->set_drag_forwarding_compat(this);
|
||||
SET_DRAG_FORWARDING_GCD(tree, SceneTreeEditor);
|
||||
if (p_can_rename) {
|
||||
tree->set_allow_rmb_select(true);
|
||||
tree->connect("item_mouse_selected", callable_mp(this, &SceneTreeEditor::_rmb_select));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue