1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-08 12:40:44 +00:00

-removed stop mouse and ignore mouse from control, which were confusing, replaced by mouse filter

This commit is contained in:
Juan Linietsky
2017-01-08 19:54:19 -03:00
parent 4fd464a4c5
commit 94ee7798ce
20 changed files with 53 additions and 57 deletions

View File

@@ -2320,7 +2320,7 @@ void ShaderGraphView::_create_node(int p_id) {
tex->set_custom_minimum_size(Size2(80,80));
tex->set_drag_forwarding(this);
gn->add_child(tex);
tex->set_ignore_mouse(false);
tex->set_mouse_filter(MOUSE_FILTER_PASS);
tex->set_texture(graph->texture_input_node_get_value(type,p_id));
ToolButton *edit = memnew( ToolButton );
edit->set_text("edit..");