diff options
author | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-05-13 15:54:30 +0200 |
---|---|---|
committer | Ignacio Etcheverry <ignalfonsore@gmail.com> | 2020-05-13 15:54:30 +0200 |
commit | af78a69b6fc9ba5663907e72b163f99744793e5c (patch) | |
tree | ba59c9e9e460851bd436e98ef465545a855cd6a1 | |
parent | a92f5f306166251ccb72666c516805d364ea4cdc (diff) |
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>(); |