-restrict gui root from being removed while performing input, fixes #2578
This commit is contained in:
parent
45ad1024e1
commit
2f19260fb7
2 changed files with 6 additions and 0 deletions
|
|
@ -802,6 +802,7 @@ void Node::remove_child(Node *p_child) {
|
|||
}
|
||||
|
||||
ERR_FAIL_COND( idx==-1 );
|
||||
ERR_FAIL_COND( p_child->data.blocked > 0 );
|
||||
|
||||
|
||||
//if (data.scene) { does not matter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue