summaryrefslogtreecommitdiffstats
path: root/scene/register_scene_types.cpp
diff options
context:
space:
mode:
authorGilles Roudière <gilles.roudiere@gmail.com>2024-03-05 13:55:23 +0100
committerGilles Roudière <gilles.roudiere@gmail.com>2024-04-03 11:02:34 +0200
commit3cd4b2859c9d715459325b070643773b47472324 (patch)
tree694a929eaff4f7a12b860c955f4f68a0d5c7b66c /scene/register_scene_types.cpp
parent7d151c83811f8ac8873439826c16d88c83aba12f (diff)
downloadredot-engine-3cd4b2859c9d715459325b070643773b47472324.tar.gz
Expose TileMapLayer
Diffstat (limited to 'scene/register_scene_types.cpp')
-rw-r--r--scene/register_scene_types.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index 3583dace2a..b6efd30f63 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -77,6 +77,7 @@
#include "scene/2d/skeleton_2d.h"
#include "scene/2d/sprite_2d.h"
#include "scene/2d/tile_map.h"
+#include "scene/2d/tile_map_layer.h"
#include "scene/2d/touch_screen_button.h"
#include "scene/2d/visible_on_screen_notifier_2d.h"
#include "scene/animation/animation_blend_space_1d.h"
@@ -813,7 +814,7 @@ void register_scene_types() {
GDREGISTER_CLASS(TileMapPattern);
GDREGISTER_CLASS(TileData);
GDREGISTER_CLASS(TileMap);
- GDREGISTER_ABSTRACT_CLASS(TileMapLayerGroup);
+ GDREGISTER_CLASS(TileMapLayer);
GDREGISTER_CLASS(Parallax2D);
GDREGISTER_CLASS(ParallaxBackground);
GDREGISTER_CLASS(ParallaxLayer);