diff options
author | Ignacio Roldán Etcheverry <neikeq@users.noreply.github.com> | 2020-05-14 16:12:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 16:12:26 +0200 |
commit | 27b4915fa8aaa3b60386105a2c8f3ae62bf21a9a (patch) | |
tree | b1dfb8025c4585913483ea11126c296a834735a2 | |
parent | 15b25b739dab84dcde99deaf29e75547ec941f45 (diff) | |
parent | af78a69b6fc9ba5663907e72b163f99744793e5c (diff) |
Merge pull request #38718 from neikeq/fix-bindings-after-lightmapper
Fix C# bindings after lightmapper changes
-rw-r--r-- | scene/register_scene_types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp index 684df728b8..24f92bdc20 100644 --- a/scene/register_scene_types.cpp +++ b/scene/register_scene_types.cpp @@ -436,6 +436,7 @@ void register_scene_types() { ClassDB::register_class<BakedLightmap>(); ClassDB::register_class<BakedLightmapData>(); ClassDB::register_class<LightmapProbe>(); + ClassDB::register_virtual_class<Lightmapper>(); ClassDB::register_class<GPUParticles3D>(); ClassDB::register_class<CPUParticles3D>(); ClassDB::register_class<Position3D>(); @@ -688,6 +689,7 @@ void register_scene_types() { ClassDB::register_class<AnimatedTexture>(); ClassDB::register_class<CameraTexture>(); ClassDB::register_virtual_class<TextureLayered>(); + ClassDB::register_virtual_class<ImageTextureLayered>(); ClassDB::register_class<Cubemap>(); ClassDB::register_class<CubemapArray>(); ClassDB::register_class<Texture2DArray>(); |