diff options
author | volzhs <volzhs@gmail.com> | 2016-10-15 03:11:26 +0900 |
---|---|---|
committer | volzhs <volzhs@gmail.com> | 2016-10-15 03:11:26 +0900 |
commit | 7f6c28e97f9fd2f3b3b9026f665d485dbf5ad8b5 (patch) | |
tree | ee59d72110d9d159091ed7353fa4c49efb8d98ca /scene/gui | |
parent | 6ca2128ff8439fa669995f54940389b8f5d9b854 (diff) |
Fix GraphEdit connection wire when resizing GraphNode
Diffstat (limited to 'scene/gui')
-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 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); } |