You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-14 13:41:12 +00:00
Merge pull request #107868 from lawnjelly/quick_ancestry4
Provide quick access to `Object` ancestry
This commit is contained in:
@@ -758,7 +758,9 @@ void Resource::_bind_methods() {
|
||||
}
|
||||
|
||||
Resource::Resource() :
|
||||
remapped_list(this) {}
|
||||
remapped_list(this) {
|
||||
_define_ancestry(AncestralClass::RESOURCE);
|
||||
}
|
||||
|
||||
Resource::~Resource() {
|
||||
if (unlikely(path_cache.is_empty())) {
|
||||
|
||||
Reference in New Issue
Block a user