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 /scene/resources/resource_format_text.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 'scene/resources/resource_format_text.cpp')
-rw-r--r-- | scene/resources/resource_format_text.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/resources/resource_format_text.cpp b/scene/resources/resource_format_text.cpp index a2c04698e1..31f6d6a84a 100644 --- a/scene/resources/resource_format_text.cpp +++ b/scene/resources/resource_format_text.cpp @@ -34,6 +34,7 @@ #include "core/io/dir_access.h" #include "core/io/missing_resource.h" #include "core/io/resource_format_binary.h" +#include "core/object/script_language.h" #include "core/version.h" // Version 2: changed names for Basis, AABB, Vectors, etc. |