From 7f6c28e97f9fd2f3b3b9026f665d485dbf5ad8b5 Mon Sep 17 00:00:00 2001 From: volzhs Date: Sat, 15 Oct 2016 03:11:26 +0900 Subject: Fix GraphEdit connection wire when resizing GraphNode --- scene/gui/graph_edit.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'scene/gui') diff --git a/scene/gui/graph_edit.cpp b/scene/gui/graph_edit.cpp index acc3ec3b2e..6366b5ee23 100644 --- a/scene/gui/graph_edit.cpp +++ b/scene/gui/graph_edit.cpp @@ -254,6 +254,7 @@ void GraphEdit::add_child_notify(Node *p_child) { gn->set_scale(Vector2(zoom,zoom)); gn->connect("offset_changed",this,"_graph_node_moved",varray(gn)); gn->connect("raise_request",this,"_graph_node_raised",varray(gn)); + gn->connect("item_rect_changed",connections_layer,"update"); _graph_node_moved(gn); gn->set_stop_mouse(false); } -- cgit v1.2.3