summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorMichael Alexsander <michaelalexsander@protonmail.com>2020-03-30 16:37:37 -0300
committerMichael Alexsander <michaelalexsander@protonmail.com>2020-03-30 16:43:55 -0300
commit46a67513028d8d5a07604af613f29f84fbd82c0b (patch)
tree4262677815d707c814f938acc3630a759c9e99e9 /scene
parentf3c74afd2869859fa117271264e9294d36be16e5 (diff)
Register SubViewport class
Diffstat (limited to 'scene')
-rw-r--r--scene/register_scene_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/register_scene_types.cpp b/scene/register_scene_types.cpp
index e73e560656..22c000fae7 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -270,6 +270,7 @@ void register_scene_types() {
ClassDB::register_virtual_class<InstancePlaceholder>();
ClassDB::register_virtual_class<Viewport>();
+ ClassDB::register_class<SubViewport>();
ClassDB::register_class<ViewportTexture>();
ClassDB::register_class<HTTPRequest>();
ClassDB::register_class<Timer>();