diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-07-05 09:20:05 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-05 09:20:05 +0200 |
commit | 42a0148f1799b82cc4b07de6ca5a1e66d6a76be2 (patch) | |
tree | aa2946ccf31cf4ef29511b0bd5cc22acf42124d0 | |
parent | 9c27cfd761ffe425f28e5ec4437611a0ecd10e28 (diff) | |
parent | 307eb34be09d5ac6c3a9d6225c67f8000e9209ab (diff) |
Merge pull request #30296 from neikeq/issue-30127
Expose ResourceImporter to the scripting API
-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); |