mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Refine children cache invalidation to skip more special cases.
This commit is contained in:
@@ -167,7 +167,7 @@ private:
|
||||
Node *parent = nullptr;
|
||||
Node *owner = nullptr;
|
||||
HashMap<StringName, Node *> children;
|
||||
mutable bool children_cache_dirty = true;
|
||||
mutable bool children_cache_dirty = false;
|
||||
mutable LocalVector<Node *> children_cache;
|
||||
HashMap<StringName, Node *> owned_unique_nodes;
|
||||
bool unique_name_in_owner = false;
|
||||
|
||||
Reference in New Issue
Block a user