summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2016-12-18 20:02:35 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2016-12-18 20:02:35 +0100
commitce41464fc0b9a20c5c06f77f0437fa2ef1f9226c (patch)
treef35ebd4ad25c792f8029d2335edb8fe9b2960541 /scene
parentafbe013ba12d68f20ef1dfe2d7a895105a440bd9 (diff)
Register SpatialGizmo as a scene type
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 104aeb2b5e..600006f14f 100644
--- a/scene/register_scene_types.cpp
+++ b/scene/register_scene_types.cpp
@@ -401,6 +401,7 @@ void register_scene_types() {
/* REGISTER 3D */
ObjectTypeDB::register_type<Spatial>();
+ ObjectTypeDB::register_virtual_type<SpatialGizmo>();
ObjectTypeDB::register_type<Skeleton>();
ObjectTypeDB::register_type<AnimationPlayer>();
ObjectTypeDB::register_type<Tween>();