You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
@@ -1208,6 +1208,7 @@ void Node::remove_child(Node *p_child) {
|
|||||||
for (int i = idx; i < data.children.size(); i++) {
|
for (int i = idx; i < data.children.size(); i++) {
|
||||||
|
|
||||||
data.children[i]->data.pos = i;
|
data.children[i]->data.pos = i;
|
||||||
|
data.children[i]->notification(NOTIFICATION_MOVED_IN_PARENT);
|
||||||
}
|
}
|
||||||
|
|
||||||
p_child->data.parent = NULL;
|
p_child->data.parent = NULL;
|
||||||
|
|||||||
Reference in New Issue
Block a user