Merge pull request #41995 from Rubonnek/disconnect-item-rect-changed

Disconnect item_rect_changed removing a child of GraphEdit
This commit is contained in:
Rémi Verschelde 2020-09-12 15:26:46 +02:00 committed by GitHub
commit 463879db56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -262,6 +262,7 @@ void GraphEdit::remove_child_notify(Node *p_child) {
if (gn) {
gn->disconnect("offset_changed", callable_mp(this, &GraphEdit::_graph_node_moved));
gn->disconnect("raise_request", callable_mp(this, &GraphEdit::_graph_node_raised));
gn->disconnect("item_rect_changed", callable_mp((CanvasItem *)connections_layer, &CanvasItem::update));
}
}