Browse Source

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

[3.2] Disconnect item_rect_changed removing a child of GraphEdit
Rémi Verschelde 5 years ago
parent
commit
cd62be1845
1 changed files with 1 additions and 0 deletions
  1. 1 0
      scene/gui/graph_edit.cpp

+ 1 - 0
scene/gui/graph_edit.cpp

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