summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-13 15:54:30 +0200
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-05-13 15:54:30 +0200
commitaf78a69b6fc9ba5663907e72b163f99744793e5c (patch)
treeba59c9e9e460851bd436e98ef465545a855cd6a1
parenta92f5f306166251ccb72666c516805d364ea4cdc (diff)
Fix C# bindings after lightmapper changes
-rw-r--r--scene/register_scene_types.cpp2
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>();