mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Remove set_drag_forwarding_compat()
This commit is contained in:
parent
a51ca2beaf
commit
59ea36b87c
33 changed files with 34 additions and 152 deletions
|
@ -4905,10 +4905,6 @@ void VisualShaderEditor::_bind_methods() {
|
|||
ClassDB::bind_method("_update_options_menu_deferred", &VisualShaderEditor::_update_options_menu_deferred);
|
||||
ClassDB::bind_method("_rebuild_shader_deferred", &VisualShaderEditor::_rebuild_shader_deferred);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_get_drag_data_fw"), &VisualShaderEditor::get_drag_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_can_drop_data_fw"), &VisualShaderEditor::can_drop_data_fw);
|
||||
ClassDB::bind_method(D_METHOD("_drop_data_fw"), &VisualShaderEditor::drop_data_fw);
|
||||
|
||||
ClassDB::bind_method("_is_available", &VisualShaderEditor::_is_available);
|
||||
}
|
||||
|
||||
|
@ -4922,7 +4918,7 @@ VisualShaderEditor::VisualShaderEditor() {
|
|||
graph->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
graph->set_show_zoom_label(true);
|
||||
add_child(graph);
|
||||
graph->set_drag_forwarding_compat(this);
|
||||
SET_DRAG_FORWARDING_GCD(graph, VisualShaderEditor);
|
||||
float graph_minimap_opacity = EDITOR_GET("editors/visual_editors/minimap_opacity");
|
||||
graph->set_minimap_opacity(graph_minimap_opacity);
|
||||
float graph_lines_curvature = EDITOR_GET("editors/visual_editors/lines_curvature");
|
||||
|
@ -5153,7 +5149,7 @@ VisualShaderEditor::VisualShaderEditor() {
|
|||
|
||||
members = memnew(Tree);
|
||||
members_vb->add_child(members);
|
||||
members->set_drag_forwarding_compat(this);
|
||||
SET_DRAG_FORWARDING_GCD(members, VisualShaderEditor);
|
||||
members->set_h_size_flags(SIZE_EXPAND_FILL);
|
||||
members->set_v_size_flags(SIZE_EXPAND_FILL);
|
||||
members->set_hide_root(true);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue