1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-19 14:31:59 +00:00

Provide quick access to Object ancestry

This commit is contained in:
lawnjelly
2025-06-22 23:08:23 +01:00
parent d7bdc0be16
commit 14a814586a
18 changed files with 86 additions and 9 deletions

View File

@@ -4031,6 +4031,8 @@ String Node::_get_name_num_separator() {
}
Node::Node() {
_define_ancestry(AncestralClass::NODE);
orphan_node_count++;
// Default member initializer for bitfield is a C++20 extension, so: