diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-04 16:11:55 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2019-07-04 16:11:57 +0200 |
commit | 307eb34be09d5ac6c3a9d6225c67f8000e9209ab (patch) | |
tree | 226d5b6f6ebedb6fb97cb08533d92ae091fafe15 /core | |
parent | f5f7244a2b59de60b2c1c29346b2fe5ded2ae2d0 (diff) |
Expose ResourceImporter to the scripting API
Fixes #30127
Diffstat (limited to 'core')
-rw-r--r-- | core/register_core_types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp index af863dd385..11cd07042f 100644 --- a/core/register_core_types.cpp +++ b/core/register_core_types.cpp @@ -190,6 +190,8 @@ void register_core_types() { ClassDB::register_class<JSONParseResult>(); + ClassDB::register_virtual_class<ResourceImporter>(); + ip = IP::create(); _geometry = memnew(_Geometry); |