You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-18 14:21:41 +00:00
Provide quick access to Object ancestry
This commit is contained in:
@@ -752,7 +752,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