Added a node_added signal to the SceneTree
This commit is contained in:
parent
f52ab8d864
commit
999ad9c0a8
3 changed files with 11 additions and 0 deletions
|
|
@ -212,6 +212,8 @@ void Node::_propagate_enter_tree() {
|
|||
|
||||
emit_signal(SceneStringNames::get_singleton()->tree_entered);
|
||||
|
||||
data.tree->node_added(this);
|
||||
|
||||
data.blocked++;
|
||||
//block while adding children
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue