mirror of
https://github.com/godotengine/godot
synced 2024-09-05 21:50:24 +00:00
Merge pull request #93008 from aaronp64/container_queue_sort
Fix `Container::pending_sort` tracking
This commit is contained in:
commit
a0bbd398ee
|
@ -80,6 +80,7 @@ void Container::remove_child_notify(Node *p_child) {
|
|||
|
||||
void Container::_sort_children() {
|
||||
if (!is_inside_tree()) {
|
||||
pending_sort = false;
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue