diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-27 14:03:28 +0200 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-27 14:03:28 +0200 |
commit | 19057c07bc10261fce936541757c587755531d0c (patch) | |
tree | 0d2593705f4bfae8acb0221d4808e515cb6d9ed8 /core/io/resource.h | |
parent | 545d1c0adbf340310e1531710eb31bd5267704d5 (diff) | |
parent | 79ce0c6e8052c065d88dbce5a2b7ff0d63fac3a7 (diff) | |
download | redot-engine-19057c07bc10261fce936541757c587755531d0c.tar.gz |
Merge pull request #67080 from Mickeon/resource-virtual-local-to-scene-setup
Reimplement Resource.`_setup_local_to_scene` & deprecate signal
Diffstat (limited to 'core/io/resource.h')
-rw-r--r-- | core/io/resource.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/io/resource.h b/core/io/resource.h index f848bdba99..a9b1a88f6b 100644 --- a/core/io/resource.h +++ b/core/io/resource.h @@ -33,6 +33,7 @@ #include "core/io/resource_uid.h" #include "core/object/class_db.h" +#include "core/object/gdvirtual.gen.inc" #include "core/object/ref_counted.h" #include "core/templates/safe_refcount.h" #include "core/templates/self_list.h" @@ -81,6 +82,7 @@ protected: void _take_over_path(const String &p_path); virtual void reset_local_to_scene(); + GDVIRTUAL0(_setup_local_to_scene); public: static Node *(*_get_local_scene_func)(); //used by editor |