summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2019-07-04 16:11:55 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2019-07-04 16:11:57 +0200
commit307eb34be09d5ac6c3a9d6225c67f8000e9209ab (patch)
tree226d5b6f6ebedb6fb97cb08533d92ae091fafe15 /core
parentf5f7244a2b59de60b2c1c29346b2fe5ded2ae2d0 (diff)
Expose ResourceImporter to the scripting API
Fixes #30127
Diffstat (limited to 'core')
-rw-r--r--core/register_core_types.cpp2
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);