diff options
author | Yuri Sizov <yuris@humnom.net> | 2023-09-06 21:02:52 +0200 |
---|---|---|
committer | Yuri Sizov <yuris@humnom.net> | 2023-09-06 22:54:38 +0200 |
commit | d8ff69d53c239fca97f212791ec38022a9a7913c (patch) | |
tree | ccbec32c4d9bba82a7cc2c94eb3ef050dc0efb28 /core/io/resource_loader.cpp | |
parent | 8449592d92eaeef990f5502b419d491ee3eeb7a6 (diff) | |
download | redot-engine-d8ff69d53c239fca97f212791ec38022a9a7913c.tar.gz |
Extract ScriptInstance to simplify includes
This allows to include script_instance.h directly in the
generated gdvirtual.gen.inc, and remove excessive includes
from the codebase.
This should also allow Resource to use GDVIRTUAL macros,
which wasn't possible previously due to a circular dependency.
Diffstat (limited to 'core/io/resource_loader.cpp')
-rw-r--r-- | core/io/resource_loader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index df0253349c..c1a38f0af8 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -33,6 +33,7 @@ #include "core/config/project_settings.h" #include "core/io/file_access.h" #include "core/io/resource_importer.h" +#include "core/object/script_language.h" #include "core/os/condition_variable.h" #include "core/os/os.h" #include "core/string/print_string.h" |