summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorGeorge Marques <george@gmarqu.es>2016-10-15 12:30:51 -0300
committerGitHub <noreply@github.com>2016-10-15 12:30:51 -0300
commiteb8d19ba740c11acf0f26080405fc5cd827a2d41 (patch)
tree1023a1fa5f0dd66a1cd1bb31396dc98fff7447ac /scene/gui
parent17f06202b7d5e00b6bf250e03b0ca994ee5dd298 (diff)
parent7f6c28e97f9fd2f3b3b9026f665d485dbf5ad8b5 (diff)
Merge pull request #6829 from volzhs/graphedit-node-resize
Fix GraphEdit connection wire when resizing GraphNode
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/graph_edit.cpp1
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);
}