diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2020-02-07 11:04:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-07 11:04:28 +0100 |
commit | 00f46452b0206afe6aca79b0c4cd4a205f99067b (patch) | |
tree | d59e18f9412cd3ae9c126aa35b23e30a0f7a8cff | |
parent | 642de8e78911999a15cfb2c394166f5168e202ba (diff) | |
parent | e18c65634fdbcd69081cdd7a9fccc221a7c20e53 (diff) |
Merge pull request #35979 from akien-mga/fix-graphnode-mouse-filter-35978
GraphEdit: Fix regression with GraphNode mouse filter
-rw-r--r-- | scene/gui/graph_edit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index 6a6fe43876..c09b2414b2 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -261,6 +261,7 @@ void GraphEdit::add_child_notify(Node *p_child) { gn->connect("raise_request", this, "_graph_node_raised", varray(gn)); gn->connect("item_rect_changed", connections_layer, "update"); _graph_node_moved(gn); + gn->set_mouse_filter(MOUSE_FILTER_PASS); } } |